forked from OSchip/llvm-project
- 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
|
||
|---|---|---|
| .. | ||
| ASTLocation.cpp | ||
| ASTVisitor.h | ||
| Analyzer.cpp | ||
| CMakeLists.txt | ||
| CallGraph.cpp | ||
| DeclReferenceMap.cpp | ||
| Entity.cpp | ||
| EntityImpl.h | ||
| GlobalSelector.cpp | ||
| Handlers.cpp | ||
| IndexProvider.cpp | ||
| Indexer.cpp | ||
| Makefile | ||
| Program.cpp | ||
| ProgramImpl.h | ||
| SelectorMap.cpp | ||