Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove clang-wpa example, which has been unmaintained for quite a while. | Douglas Gregor | 2012-03-14 | 3 | -233/+0 |
| | | | | llvm-svn: 152729 | ||||
* | Unify naming of LangOptions variable/get function across the Clang stack ↵ | David Blaikie | 2012-03-11 | 1 | -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 + rename | Anna Zaks | 2012-03-02 | 1 | -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 namespace | Dylan Noblesmith | 2012-02-20 | 1 | -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 Noblesmith | 2012-02-13 | 1 | -3/+3 |
| | | | | | | More cleanup after r149798. llvm-svn: 150379 | ||||
* | Fix linking of clang-wpa. | Zhongxing Xu | 2011-05-31 | 1 | -3/+6 |
| | | | | llvm-svn: 132329 | ||||
* | [analyzer] Add LangOptions in CheckerManager. | Argyrios Kyrtzidis | 2011-02-23 | 1 | -1/+2 |
| | | | | llvm-svn: 126306 | ||||
* | Fix the clang-wpa example. | Argyrios Kyrtzidis | 2011-02-15 | 1 | -10/+34 |
| | | | | llvm-svn: 125565 | ||||
* | [analyzer] Introduce libclangStaticAnalyzerFrontend and move ↵ | Argyrios Kyrtzidis | 2011-02-14 | 2 | -1/+2 |
| | | | | | | Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499 | ||||
* | CMake: LLVM_NO_RTTI must be obsolete now! | NAKAMURA Takumi | 2011-02-10 | 1 | -2/+0 |
| | | | | llvm-svn: 125275 | ||||
* | Split 'include/clang/StaticAnalyzer' into ↵ | Ted Kremenek | 2011-02-10 | 1 | -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 Kremenek | 2011-02-09 | 1 | -1/+2 |
| | | | | llvm-svn: 125235 | ||||
* | Get clang-wpa to build in TOT (reflecting updates | Ted Kremenek | 2011-01-18 | 1 | -6/+11 |
| | | | | | | to the static analyzer). llvm-svn: 123727 | ||||
* | Chris Lattner has strong opinions about directory | Ted Kremenek | 2010-12-23 | 2 | -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' and | Ted Kremenek | 2010-12-23 | 2 | -3/+3 |
| | | | | | | update Makefile. llvm-svn: 122493 | ||||
* | [analyzer] Refactoring: Drop the 'GR' prefix. | Argyrios Kyrtzidis | 2010-12-22 | 1 | -4/+4 |
| | | | | llvm-svn: 122424 | ||||
* | [analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own ↵ | Argyrios Kyrtzidis | 2010-12-22 | 2 | -1/+2 |
| | | | | | | library, libclangGRCheckers llvm-svn: 122422 | ||||
* | [analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> ↵ | Argyrios Kyrtzidis | 2010-12-22 | 2 | -2/+2 |
| | | | | | | libclangGRCore llvm-svn: 122421 | ||||
* | [analyzer] Refactoring: include/clang/Checker -> include/clang/GR | Argyrios Kyrtzidis | 2010-12-22 | 1 | -4/+4 |
| | | | | llvm-svn: 122420 | ||||
* | Rename 'MaxLoop' to 'MaxVisit' in AnalysisManager to more correctly reflect ↵ | Tom Care | 2010-09-14 | 1 | -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. Spencer | 2010-09-13 | 1 | -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 instead | Michael J. Spencer | 2010-09-10 | 1 | -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 Xu | 2010-08-25 | 3 | -0/+199 |
| | | | | llvm-svn: 112014 | ||||
* | Remove wpa 'example', it isn't being maintained. | Daniel Dunbar | 2010-08-11 | 3 | -197/+0 |
| | | | | llvm-svn: 110809 | ||||
* | Make a bunch of new data structures for the new analysis | Zhongxing Xu | 2010-07-22 | 1 | -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 Xu | 2010-07-19 | 1 | -2/+2 |
| | | | | llvm-svn: 108668 | ||||
* | Revert r108617, it broke the build. | Benjamin Kramer | 2010-07-17 | 1 | -2/+2 |
| | | | | llvm-svn: 108621 | ||||
* | Prepare the analyzer for the callee in another translation unit: | Zhongxing Xu | 2010-07-17 | 1 | -2/+2 |
| | | | | | | | Let AnalysisContext contain a TranslationUnit. Let CallEnter refer to an AnalysisContext instead of a FunctionDecl. llvm-svn: 108617 | ||||
* | Fix CMake build | Peter Collingbourne | 2010-07-09 | 1 | -0/+2 |
| | | | | llvm-svn: 108031 | ||||
* | Add skeleton code to make wpa call the analysis engine. | Zhongxing Xu | 2010-07-06 | 2 | -4/+34 |
| | | | | llvm-svn: 107646 | ||||
* | Collect function definitions in the Indexer when indexing through the ASTs. | Zhongxing Xu | 2010-07-06 | 1 | -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 Xu | 2010-07-02 | 1 | -2/+37 |
| | | | | llvm-svn: 107467 | ||||
* | add -analyze-function option. | Zhongxing Xu | 2010-07-02 | 1 | -2/+12 |
| | | | | llvm-svn: 107463 | ||||
* | add -view-call-graph option to wpa. | Zhongxing Xu | 2010-07-02 | 1 | -5/+11 |
| | | | | llvm-svn: 107462 | ||||
* | Change CallGraph::Prog to be a reference. idx::Program means to be a global ↵ | Zhongxing Xu | 2010-07-02 | 1 | -1/+3 |
| | | | | | | object to the Index library. llvm-svn: 107461 | ||||
* | Makefiles: Remove unnecessary early include of Makefile.config. | Daniel Dunbar | 2010-06-08 | 1 | -5/+0 |
| | | | | llvm-svn: 105640 | ||||
* | Makefiles: Set Clang CPP compiler flags in a single location, instead of ↵ | Daniel Dunbar | 2010-06-08 | 1 | -1/+0 |
| | | | | | | scattered throughout the project Makefiles. llvm-svn: 105638 | ||||
* | Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile. | Daniel Dunbar | 2010-06-08 | 1 | -3/+3 |
| | | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637 | ||||
* | Update LINK_COMPONENTS for examples. | Daniel Dunbar | 2010-06-08 | 1 | -1/+1 |
| | | | | llvm-svn: 105607 | ||||
* | clang-wpa fixes for Diagnostic | Douglas Gregor | 2010-04-06 | 1 | -4/+2 |
| | | | | llvm-svn: 100518 | ||||
* | Unbreak build | Douglas Gregor | 2010-04-06 | 1 | -2/+3 |
| | | | | llvm-svn: 100514 | ||||
* | Grrrr | Douglas Gregor | 2010-04-05 | 1 | -1/+1 |
| | | | | llvm-svn: 100476 | ||||
* | Try to de-bork build of WPA | Douglas Gregor | 2010-04-05 | 1 | -1/+2 |
| | | | | llvm-svn: 100475 | ||||
* | Add header + comments | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+12 |
| | | | | llvm-svn: 97308 | ||||
* | -fno-rtti is now the default. | Chris Lattner | 2010-01-24 | 1 | -1/+0 |
| | | | | llvm-svn: 94379 | ||||
* | Fix CMake build on windows, from Cedric Venet | Douglas Gregor | 2009-12-20 | 1 | -4/+0 |
| | | | | llvm-svn: 91794 | ||||
* | Document that CompilerInvocation::createDiagnostics keeps a reference to the ↵ | Daniel Dunbar | 2009-12-06 | 1 | -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 Index | Daniel Dunbar | 2009-12-03 | 1 | -2/+2 |
| | | | | llvm-svn: 90424 | ||||
* | Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; ↵ | Daniel Dunbar | 2009-12-03 | 1 | -11/+5 |
| | | | | | | propogate and simplify. llvm-svn: 90379 | ||||
* | Update example link lines. | Daniel Dunbar | 2009-12-03 | 2 | -6/+14 |
| | | | | llvm-svn: 90359 |