hanchenye-llvm-project/clang/tools/libclang
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
..
CIndex.cpp Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
CIndexCXX.cpp Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
CIndexCodeCompletion.cpp When the environment variable LIBCLANG_RESOURCE_USAGE is set, teach 2011-05-05 20:27:22 +00:00
CIndexDiagnostic.cpp Extend the libclang diagnostic API to provide information about the 2010-11-19 16:18:16 +00:00
CIndexDiagnostic.h Eliminate -fdiagnostics-binary and all of the infrastructure for 2010-10-11 22:02:06 +00:00
CIndexInclusionStack.cpp Teach SourceManager::getSLocEntry() that it can fail due to problems 2011-04-20 00:21:03 +00:00
CIndexUSRs.cpp Use the canonical decl when generating the locations for USRs. 2011-05-03 01:33:35 +00:00
CIndexer.cpp libclang/CIndexer.cpp: Apply a new API for Cygwin-1.7, instead of deprecated one. 2011-03-08 22:17:33 +00:00
CIndexer.h When the environment variable LIBCLANG_RESOURCE_USAGE is set, teach 2011-05-05 20:27:22 +00:00
CMakeLists.txt libclang output name is now libclang. This solves a name collision 2011-04-10 02:29:27 +00:00
CXCursor.cpp Parsing/AST support for Structured Exception Handling 2011-04-28 01:08:34 +00:00
CXCursor.h Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
CXSourceLocation.h Per Doug's suggestion, move check for invalid SourceLocation into 2010-06-28 23:54:17 +00:00
CXString.cpp Make definition of CXTranslationUnitImpl private 2010-11-17 23:24:11 +00:00
CXString.h Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
CXTranslationUnit.h Make definition of CXTranslationUnitImpl private 2010-11-17 23:24:11 +00:00
CXType.cpp Add libclang functions to determine the const/volatile/restrict 2011-01-27 16:27:11 +00:00
CXType.h Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
Makefile Re-instate r125819 and r125820 with no functionality change 2011-02-19 23:03:58 +00:00
libclang.darwin.exports Introduce a new libclang API, clang_isFileMultipleIncludeGuarded(), 2011-05-04 00:14:37 +00:00
libclang.exports Introduce a new libclang API, clang_isFileMultipleIncludeGuarded(), 2011-05-04 00:14:37 +00:00