summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/CallGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Rename clang::CallGraph into clang::idx::CallGraph + renameAnna Zaks2012-03-021-150/+0
| | | | | | | | | | | | | the corresponding files to avoid confusion. This is a preparation to adding an AST-based call graph to Analysis. The existing call graph works with indexer entries. We might be able to refactor it to use the AST based graph in the future. (Minimal testing here as the only example that uses the API has been completely broken, does not compile.) llvm-svn: 151950
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-1/+1
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* 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