summaryrefslogtreecommitdiffstats
path: root/clang/examples/wpa/clang-wpa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove clang-wpa example, which has been unmaintained for quite a while.Douglas Gregor2012-03-141-181/+0
| | | | llvm-svn: 152729
* Unify naming of LangOptions variable/get function across the Clang stack ↵David Blaikie2012-03-111-4/+4
| | | | | | | | | | (Lex to AST). The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
* [analyzer] Rename clang::CallGraph into clang::idx::CallGraph + renameAnna Zaks2012-03-021-3/+3
| | | | | | | | | | | | | 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
* Basic: import IntrusiveRefCntPtr<> into clang namespaceDylan Noblesmith2012-02-201-1/+1
| | | | | | | The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958
* drop more llvm:: prefixes on OwningPtr<>Dylan Noblesmith2012-02-131-3/+3
| | | | | | More cleanup after r149798. llvm-svn: 150379
* [analyzer] Add LangOptions in CheckerManager.Argyrios Kyrtzidis2011-02-231-1/+2
| | | | llvm-svn: 126306
* Fix the clang-wpa example.Argyrios Kyrtzidis2011-02-151-10/+34
| | | | llvm-svn: 125565
* Split 'include/clang/StaticAnalyzer' into ↵Ted Kremenek2011-02-101-3/+3
| | | | | | | | 'include/clang/StaticAnalyzer/Core' and 'include/clang/StaticAnalyzer/Checkers'. This layout matches lib/StaticAnalyzer, which corresponds to two StaticAnalyzer libraries. llvm-svn: 125251
* Update clang-wpa to pass extra argument to AnalysisManager constructor.Ted Kremenek2011-02-091-1/+2
| | | | llvm-svn: 125235
* Get clang-wpa to build in TOT (reflecting updatesTed Kremenek2011-01-181-6/+11
| | | | | | to the static analyzer). llvm-svn: 123727
* [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