summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/CallGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modify some deleted function methods to better reflect reality:Alexis Hunt2011-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | - 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
* Give some convenient idiomatic accessors to Stmt::child_range andJohn McCall2011-02-131-1/+1
| | | | | | | Stmt::const_child_range, then make a bunch of places use them instead of the individual iterator accessors. llvm-svn: 125450
* Change CallGraph::Prog to be a reference. idx::Program means to be a global ↵Zhongxing Xu2010-07-021-1/+1
| | | | | | object to the Index library. llvm-svn: 107461
* Fix layering violation by moving Analysis/CallGraph to IndexDaniel Dunbar2009-12-031-0/+150
llvm-svn: 90424
OpenPOWER on IntegriCloud