hanchenye-llvm-project/clang/lib/Frontend
Alexis Hunt 4a8ea1092a Modify some deleted function methods to better reflect reality:
- New isDefined() function checks for deletedness
 - isThisDeclarationADefinition checks for deletedness
 - New doesThisDeclarationHaveABody() does what
   isThisDeclarationADefinition() used to do
 - The IsDeleted bit is not propagated across redeclarations
 - isDeleted() now checks the canoncial declaration
 - New isDeletedAsWritten() does what it says on the tin.
 - isUserProvided() now correct (thanks Richard!)

This fixes the bug that we weren't catching

void foo() = delete;
void foo() {}

as being a redefinition.

llvm-svn: 131013
2011-05-06 20:44:56 +00:00
..
ASTConsumers.cpp Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
ASTMerge.cpp Introduce the notion of a "minimal" import of ASTs, to better support LLDB. 2011-01-18 03:11:38 +00:00
ASTUnit.cpp Introduce a new libclang parsing flag, 2011-05-06 16:33:08 +00:00
BoostConAction.cpp
CMakeLists.txt Frontend: Sketch a LogDiagnosticPrinter object, and wire CC_LOG_DIAGNOSTICS to 2011-04-07 18:31:10 +00:00
CacheTokens.cpp Currently we can only remap a file by creating a MemoryBuffer and replacing the file contents with it. 2011-03-05 01:03:53 +00:00
CompilerInstance.cpp Introduce a new libclang parsing flag, 2011-05-06 16:33:08 +00:00
CompilerInvocation.cpp Preserve the full name of the file, so that '-c -o foo.pic.o' produces 2011-05-05 00:08:20 +00:00
CreateInvocationFromCommandLine.cpp Add missing file for my previous commit. 2011-04-04 23:16:36 +00:00
DependencyFile.cpp Fixes a crash when generating dependency file stuff 2011-04-15 18:49:23 +00:00
DiagChecker.cpp Another step in the process of making the parser depend on Sema: 2010-08-20 18:27:03 +00:00
FrontendAction.cpp Improve crash recovery cleanup to recovery CompilerInstances during crash recovery. This was a huge resource "root" during crashes. 2011-03-21 18:40:17 +00:00
FrontendActions.cpp Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
FrontendOptions.cpp Driver, Frontend: add CUDA language support 2010-12-01 03:15:20 +00:00
HeaderIncludeGen.cpp Fix -H. It was pretty broken. 2011-04-14 14:07:45 +00:00
InitHeaderSearch.cpp Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's libstdc++6-4.5, as collected from http://packages.ubuntu.com/search?mode=exactfilename&suite=natty&section=all&arch=any&searchon=contents&keywords=c%2B%2Blocale.h and http://packages.debian.org/wheezy/armel/libstdc++6-4.5-dev/filelist 2011-05-04 09:25:56 +00:00
InitPreprocessor.cpp Upgrade Microsoft's __int8, __int16, __int32 and __int64 types from builtin defines to real types. 2011-04-28 01:59:37 +00:00
LangStandards.cpp
LogDiagnosticPrinter.cpp Frontend: Fix a crash in CC_LOG_DIAGNOSTICS handling. 2011-05-05 02:12:02 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiplexConsumer.cpp Add a decl update when a static data member of a class template is instantiated in a different PCH than its containing class. Otherwise we get double definition errors. Fixes a Boost.MPL problem that affects Boost.Accumulators and probably a lot more of Boost. 2011-04-29 08:19:30 +00:00
PrintPreprocessedOutput.cpp Rename tok::eom to tok::eod. 2011-02-28 02:37:51 +00:00
TextDiagnosticBuffer.cpp Since multiple diagnostics can share one diagnostic client, have the client keeping track 2010-11-18 20:06:46 +00:00
TextDiagnosticPrinter.cpp Initial work to improve documentation for Clang's diagnostics, from Matthieu Monrocq 2011-04-15 22:04:17 +00:00
VerifyDiagnosticsClient.cpp Switch the VerifyDiagnosticsClient to use PresumedLocs now that they 2011-02-23 00:47:48 +00:00
Warnings.cpp