| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | make CallGraph more flexible by letting it accept ASTContext instead of ASTUnit. | Zhongxing Xu | 2009-10-28 | 1 | -3/+1 |
| | | | | | | | Patch by Simone Pellegrini. llvm-svn: 85386 | ||||
| * | Modify ASTLocation and apart from being a Decl or Stmt, allow it to also be: | Argyrios Kyrtzidis | 2009-09-29 | 1 | -4/+1 |
| | | | | | | | | -A NamedDecl reference -A TypeLoc llvm-svn: 83095 | ||||
| * | Add more const-goodness to ASTLocation. | Argyrios Kyrtzidis | 2009-09-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 83087 | ||||
| * | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -9/+9 |
| | | | | | llvm-svn: 81346 | ||||
| * | Add getDecl() to CallGraph and CallGraphNode. | Zhongxing Xu | 2009-07-24 | 1 | -0/+7 |
| | | | | | llvm-svn: 76940 | ||||
| * | Add two nodes to the call graph: | Zhongxing Xu | 2009-07-23 | 1 | -0/+12 |
| | | | | | | | | - Root is the main function or 0. - ExternalCallingNode has edges to all external functions. llvm-svn: 76876 | ||||
| * | Add template specializations to view the call graph in dot format. | Zhongxing Xu | 2009-07-23 | 1 | -0/+21 |
| | | | | | | | | - change the DenseMap used in callgraph to std::map, since DenseMap cannot be used with mapped_iterator and friends. llvm-svn: 76874 | ||||
| * | Remove the ASTContext parameter from Entity::getPrintableName(). | Argyrios Kyrtzidis | 2009-07-21 | 1 | -3/+2 |
| | | | | | llvm-svn: 76546 | ||||
| * | Change the semantics for Entity. | Argyrios Kyrtzidis | 2009-07-21 | 1 | -6/+6 |
| | | | | | | | | | | | Entity can now refer to declarations that are not visible outside the translation unit. It is a wrapper of a pointer union, it's either a Decl* for declarations that don't "cross" translation units, or an EntityImpl* which is associated with the specific "visible" Decl. Included is a test case for handling fields across translation units. llvm-svn: 76515 | ||||
| * | Replace stmt visitors with the fall back method. | Zhongxing Xu | 2009-07-18 | 1 | -21/+1 |
| | | | | | llvm-svn: 76294 | ||||
| * | Rename Entity::getName() to Entity::getPrintableName() to make its purpose | Zhongxing Xu | 2009-07-17 | 1 | -2/+3 |
| | | | | | | | more obvious. llvm-svn: 76167 | ||||
| * | As suggested by Argyrios, revert r76159 and make "FindImmediateParent" | Zhongxing Xu | 2009-07-17 | 1 | -1/+4 |
| | | | | | | | a public static method of ASTLocation. llvm-svn: 76166 | ||||
| * | Refactor code into a new CallExpr::getDirectCallee() method. Simplify some | Zhongxing Xu | 2009-07-17 | 1 | -15/+4 |
| | | | | | | | code with the new method. llvm-svn: 76164 | ||||
| * | CallGraph: add a bunch of stmt visitors. | Zhongxing Xu | 2009-07-17 | 1 | -6/+20 |
| | | | | | llvm-svn: 76161 | ||||
| * | CallGraph: | Zhongxing Xu | 2009-07-17 | 1 | -6/+12 |
| | | | | | | | | | - add IfStmt visitor. - print information only when a function has callee. Otherwise its ASTContext map is NULL. llvm-svn: 76156 | ||||
| * | Commit the initial implementation of call graph building. | Zhongxing Xu | 2009-07-16 | 1 | -0/+121 |
| llvm-svn: 75873 | |||||

