Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixes compilation with Visual Studio by replacing the non-standard ↵ | Manuel Klimek | 2011-05-10 | 1 | -2/+2 | |
| | | | | | | vector::data() access. llvm-svn: 131116 | |||||
* | Fix gcc 'warning: multi-line comment'. | Nico Weber | 2011-04-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 130583 | |||||
* | Add a Makefile to examples/Tooling for people who do not use cmake. | Nico Weber | 2011-04-30 | 1 | -0/+24 | |
| | | | | llvm-svn: 130577 | |||||
* | Fix Makefile build of examples/clang-interpreter. | Nico Weber | 2011-04-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 130576 | |||||
* | This is the next step in building the standalone tools infrastructure: | Manuel Klimek | 2011-04-27 | 3 | -1/+115 | |
| | | | | | | | | | | | | | | | This patch simplifies writing of standalone Clang tools. As an example, we add clang-check, a tool that runs a syntax only frontend action over a .cc file. When you integrate this into your favorite editor, you get much faster feedback on your compilation errors, thus reducing your feedback cycle especially when writing new code. The tool depends on integration of an outstanding patch to CMake to work which allows you to always have a current compile command database in your cmake output directory when you set CMAKE_EXPORT_COMPILE_COMMANDS. llvm-svn: 130306 | |||||
* | Fixed build error. | John Thompson | 2011-03-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 128470 | |||||
* | [analyzer] Add LangOptions in CheckerManager. | Argyrios Kyrtzidis | 2011-02-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 126306 | |||||
* | Re-instate r125819 and r125820 with no functionality change | Peter Collingbourne | 2011-02-19 | 2 | -26/+1 | |
| | | | | llvm-svn: 126060 | |||||
* | Revert 125820 and 125819 to fix PR9266. | Rafael Espindola | 2011-02-19 | 2 | -1/+26 | |
| | | | | llvm-svn: 126050 | |||||
* | Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction | Peter Collingbourne | 2011-02-18 | 2 | -26/+1 | |
| | | | | | | | | | This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820 | |||||
* | 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 | 5 | -2/+5 | |
| | | | | | | Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499 | |||||
* | CMake: LLVM_NO_RTTI must be obsolete now! | NAKAMURA Takumi | 2011-02-10 | 3 | -6/+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 | |||||
* | make `make` work in examples/PrintFucntionNames on Mac. I checked that it ↵ | Nico Weber | 2011-01-26 | 2 | -5/+11 | |
| | | | | | | still works on Linux. llvm-svn: 124325 | |||||
* | Fix name to match reality. | Nick Lewycky | 2011-01-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 123813 | |||||
* | 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 | 5 | -8/+8 | |
| | | | | | | | | | | | | 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 | 5 | -8/+8 | |
| | | | | | | 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 | 5 | -2/+5 | |
| | | | | | | library, libclangGRCheckers llvm-svn: 122422 | |||||
* | [analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> ↵ | Argyrios Kyrtzidis | 2010-12-22 | 5 | -5/+5 | |
| | | | | | | libclangGRCore llvm-svn: 122421 | |||||
* | [analyzer] Refactoring: include/clang/Checker -> include/clang/GR | Argyrios Kyrtzidis | 2010-12-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 122420 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 120297 | |||||
* | Unbreak clang-interpreter. (Should there be some automated testing for this?) | Eli Friedman | 2010-11-24 | 1 | -1/+2 | |
| | | | | llvm-svn: 120069 | |||||
* | Add a comment explaining why r117813 was needed. | Dan Gohman | 2010-11-17 | 1 | -0/+5 | |
| | | | | llvm-svn: 119518 | |||||
* | Turns out that we may end up calling dladdr on GetExecutablePath, give it ↵ | Benjamin Kramer | 2010-10-30 | 1 | -1/+1 | |
| | | | | | | external linkage to make sure the lookup works on all platforms. llvm-svn: 117813 | |||||
* | These functions don't need external linkage. | Dan Gohman | 2010-10-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 117733 | |||||
* | 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 | |||||
* | PrintFunctionNames: Fix Windows (MSV{S,C} and mingw) build. | Michael J. Spencer | 2010-09-14 | 1 | -0/+28 | |
| | | | | llvm-svn: 113835 | |||||
* | Revert "CMake: Update to use standard CMake dependency tracking facilities ↵ | Michael J. Spencer | 2010-09-13 | 3 | -36/+39 | |
| | | | | | | | | | | | | | 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 | 3 | -39/+36 | |
| | | | | | | of whatever we were using before... llvm-svn: 113631 | |||||
* | clang-interpreter: libFrontend depends on libSerialization. Fix linux build ↵ | Benjamin Kramer | 2010-08-26 | 2 | -2/+2 | |
| | | | | | | by changing the link order. llvm-svn: 112187 | |||||
* | Update clang-interpreter for recent DiagnosticClient ownership changes. | Benjamin Kramer | 2010-08-26 | 1 | -2/+3 | |
| | | | | llvm-svn: 112181 | |||||
* | Add back clang-wpa. It is useful for experimenting with inter-file analysis. | Zhongxing Xu | 2010-08-25 | 3 | -0/+199 | |
| | | | | llvm-svn: 112014 | |||||
* | Add Serialization dependency to clang-interpreter | Peter Collingbourne | 2010-08-24 | 2 | -3/+4 | |
| | | | | llvm-svn: 111874 | |||||
* | Remove wpa 'example', it isn't being maintained. | Daniel Dunbar | 2010-08-11 | 5 | -199/+1 | |
| | | | | llvm-svn: 110809 | |||||
* | Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance object | Daniel Dunbar | 2010-08-02 | 1 | -4/+16 | |
| | | | | | | | | | | | | for use in reporting diagnostics. - We don't want to use the Action's own CompilerInstance, because that is only initialized during file processing and I like that invariant. Also, if ParseArgs returns false then abandon execution. Also, remove unused PluginASTAction::PrintHelp virtual method. llvm-svn: 110039 | |||||
* | Make a variable static. | Dan Gohman | 2010-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 109438 | |||||
* | Use an export file. Plugins must export llvm::Registry symbols. | Dan Gohman | 2010-07-26 | 2 | -3/+9 | |
| | | | | | | Also, don't link in all the clang libraries statically. llvm-svn: 109436 | |||||
* | Fix clang-interpreter build | Peter Collingbourne | 2010-07-24 | 2 | -2/+2 | |
| | | | | llvm-svn: 109347 | |||||
* | 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 | |||||
* | PrintFunctionNames is a plugin, it should pull in symbols from the clang binary | Nick Lewycky | 2010-07-10 | 1 | -1/+0 | |
| | | | | | | that loads it, not by linking against them directly. llvm-svn: 108055 | |||||
* | 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 |