Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove clang-wpa example, which has been unmaintained for quite a while. | Douglas Gregor | 2012-03-14 | 1 | -181/+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 | ||||
* | [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 | ||||
* | 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 | ||||
* | [analyzer] Refactoring: Drop the 'GR' prefix. | Argyrios Kyrtzidis | 2010-12-22 | 1 | -4/+4 |
| | | | | llvm-svn: 122424 | ||||
* | [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 | ||||
* | Add back clang-wpa. It is useful for experimenting with inter-file analysis. | Zhongxing Xu | 2010-08-25 | 1 | -0/+150 |
| | | | | llvm-svn: 112014 | ||||
* | Remove wpa 'example', it isn't being maintained. | Daniel Dunbar | 2010-08-11 | 1 | -149/+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 | ||||
* | Add skeleton code to make wpa call the analysis engine. | Zhongxing Xu | 2010-07-06 | 1 | -2/+31 |
| | | | | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake ↵ | Daniel Dunbar | 2009-11-15 | 1 | -0/+61 |
equivalent yet). Move tools/wpa to examples/wpa, and unbreak its build. llvm-svn: 88825 |