summaryrefslogtreecommitdiffstats
path: root/clang/examples/wpa
Commit message (Collapse)AuthorAgeFilesLines
* Remove clang-wpa example, which has been unmaintained for quite a while.Douglas Gregor2012-03-143-233/+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
* Fix linking of clang-wpa.Zhongxing Xu2011-05-311-3/+6
| | | | llvm-svn: 132329
* [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
* [analyzer] Introduce libclangStaticAnalyzerFrontend and move ↵Argyrios Kyrtzidis2011-02-142-1/+2
| | | | | | Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499
* CMake: LLVM_NO_RTTI must be obsolete now!NAKAMURA Takumi2011-02-101-2/+0
| | | | llvm-svn: 125275
* 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
* Chris Lattner has strong opinions about directoryTed Kremenek2010-12-232-3/+3
| | | | | | | | | | | | layout. :) Rename the 'EntoSA' directories to 'StaticAnalyzer'. Internally we will still use the 'ento' namespace for the analyzer engine (unless there are further sabre rattlings...). llvm-svn: 122514
* Rename headers: 'clang/GR' 'clang/EntoSA' andTed Kremenek2010-12-232-3/+3
| | | | | | update Makefile. llvm-svn: 122493
* [analyzer] Refactoring: Drop the 'GR' prefix.Argyrios Kyrtzidis2010-12-221-4/+4
| | | | llvm-svn: 122424
* [analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own ↵Argyrios Kyrtzidis2010-12-222-1/+2
| | | | | | library, libclangGRCheckers llvm-svn: 122422
* [analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> ↵Argyrios Kyrtzidis2010-12-222-2/+2
| | | | | | libclangGRCore llvm-svn: 122421
* [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
* Revert "CMake: Update to use standard CMake dependency tracking facilities ↵Michael J. Spencer2010-09-131-8/+10
| | | | | | | | | | | | | instead" This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt llvm-svn: 113817
* CMake: Update to use standard CMake dependency tracking facilities insteadMichael J. Spencer2010-09-101-10/+8
| | | | | | of whatever we were using before... llvm-svn: 113631
* Add back clang-wpa. It is useful for experimenting with inter-file analysis.Zhongxing Xu2010-08-253-0/+199
| | | | llvm-svn: 112014
* Remove wpa 'example', it isn't being maintained.Daniel Dunbar2010-08-113-197/+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
* Fix CMake buildPeter Collingbourne2010-07-091-0/+2
| | | | llvm-svn: 108031
* Add skeleton code to make wpa call the analysis engine.Zhongxing Xu2010-07-062-4/+34
| | | | 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
* Makefiles: Remove unnecessary early include of Makefile.config.Daniel Dunbar2010-06-081-5/+0
| | | | llvm-svn: 105640
* Makefiles: Set Clang CPP compiler flags in a single location, instead of ↵Daniel Dunbar2010-06-081-1/+0
| | | | | | scattered throughout the project Makefiles. llvm-svn: 105638
* Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar2010-06-081-3/+3
| | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637
* Update LINK_COMPONENTS for examples.Daniel Dunbar2010-06-081-1/+1
| | | | llvm-svn: 105607
* 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
* Add header + commentsKovarththanan Rajaratnam2010-02-271-0/+12
| | | | llvm-svn: 97308
* -fno-rtti is now the default.Chris Lattner2010-01-241-1/+0
| | | | llvm-svn: 94379
* Fix CMake build on windows, from Cedric VenetDouglas Gregor2009-12-201-4/+0
| | | | llvm-svn: 91794
* 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
* Update example link lines.Daniel Dunbar2009-12-032-6/+14
| | | | llvm-svn: 90359
OpenPOWER on IntegriCloud