summaryrefslogtreecommitdiffstats
path: root/clang/examples/wpa/clang-wpa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Refactoring: Drop the 'GR' prefix.Argyrios Kyrtzidis2010-12-221-4/+4
| | | | llvm-svn: 122424
* [analyzer] Refactoring: include/clang/Checker -> include/clang/GRArgyrios Kyrtzidis2010-12-221-4/+4
| | | | llvm-svn: 122420
* Rename 'MaxLoop' to 'MaxVisit' in AnalysisManager to more correctly reflect ↵Tom Care2010-09-141-1/+1
| | | | | | that we aborted analysis may not necessarily be due to a loop. llvm-svn: 113862
* Add back clang-wpa. It is useful for experimenting with inter-file analysis.Zhongxing Xu2010-08-251-0/+150
| | | | llvm-svn: 112014
* Remove wpa 'example', it isn't being maintained.Daniel Dunbar2010-08-111-149/+0
| | | | llvm-svn: 110809
* Make a bunch of new data structures for the new analysisZhongxing Xu2010-07-221-0/+4
| | | | | | | engine of the new translation unit. State marshal is there but no real work is done. End nodes are passed back. llvm-svn: 109105
* Reapply r108617.Zhongxing Xu2010-07-191-2/+2
| | | | llvm-svn: 108668
* Revert r108617, it broke the build.Benjamin Kramer2010-07-171-2/+2
| | | | llvm-svn: 108621
* Prepare the analyzer for the callee in another translation unit:Zhongxing Xu2010-07-171-2/+2
| | | | | | | Let AnalysisContext contain a TranslationUnit. Let CallEnter refer to an AnalysisContext instead of a FunctionDecl. llvm-svn: 108617
* Add skeleton code to make wpa call the analysis engine.Zhongxing Xu2010-07-061-2/+31
| | | | llvm-svn: 107646
* Collect function definitions in the Indexer when indexing through the ASTs.Zhongxing Xu2010-07-061-0/+7
| | | | | | Add an API to get an Entity associated with a name in the global namespace. llvm-svn: 107642
* Create a ASTUnitTU class to interface ASTUnit to the Indexer.Zhongxing Xu2010-07-021-2/+37
| | | | llvm-svn: 107467
* add -analyze-function option.Zhongxing Xu2010-07-021-2/+12
| | | | llvm-svn: 107463
* add -view-call-graph option to wpa.Zhongxing Xu2010-07-021-5/+11
| | | | llvm-svn: 107462
* Change CallGraph::Prog to be a reference. idx::Program means to be a global ↵Zhongxing Xu2010-07-021-1/+3
| | | | | | object to the Index library. llvm-svn: 107461
* clang-wpa fixes for DiagnosticDouglas Gregor2010-04-061-4/+2
| | | | llvm-svn: 100518
* Unbreak buildDouglas Gregor2010-04-061-2/+3
| | | | llvm-svn: 100514
* GrrrrDouglas Gregor2010-04-051-1/+1
| | | | llvm-svn: 100476
* Try to de-bork build of WPADouglas Gregor2010-04-051-1/+2
| | | | llvm-svn: 100475
* Document that CompilerInvocation::createDiagnostics keeps a reference to the ↵Daniel Dunbar2009-12-061-1/+2
| | | | | | DiagnosticOptions, and update callers to make sure they don't pass in a temporary. llvm-svn: 90704
* Fix layering violation by moving Analysis/CallGraph to IndexDaniel Dunbar2009-12-031-2/+2
| | | | llvm-svn: 90424
* Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵Daniel Dunbar2009-12-031-11/+5
| | | | | | propogate and simplify. llvm-svn: 90379
* Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake ↵Daniel Dunbar2009-11-151-0/+61
equivalent yet). Move tools/wpa to examples/wpa, and unbreak its build. llvm-svn: 88825
OpenPOWER on IntegriCloud