hanchenye-llvm-project/clang/tools
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
..
c-index-test Introduce a new libclang parsing flag, 2011-05-06 16:33:08 +00:00
driver Update API. 2011-04-30 03:46:18 +00:00
libclang Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
scan-build Update regex in scan-build for parsing statistics. 2011-04-27 23:43:27 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
Makefile libclang and c-index-test can be built on Cygming. 2010-11-09 03:25:21 +00:00