Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove a goofy CMake hack and use the standard CMake facilities to | Chandler Carruth | 2012-06-21 | 1 | -28/+31 | |
| | | | | | | | | | express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888 | |||||
* | Remove clangIndex reference from clang-interpreter CMake build | Douglas Gregor | 2012-04-13 | 1 | -1/+0 | |
| | | | | llvm-svn: 154674 | |||||
* | clang-interpreter/Makefile: [PR12313] Update USEDLIBS to add clangEdit. | NAKAMURA Takumi | 2012-03-21 | 1 | -1/+2 | |
| | | | | llvm-svn: 153167 | |||||
* | 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 SmallString<> | Dylan Noblesmith | 2012-02-13 | 1 | -1/+1 | |
| | | | | | | More cleanup after r149799. llvm-svn: 150380 | |||||
* | drop more llvm:: prefixes on OwningPtr<> | Dylan Noblesmith | 2012-02-13 | 1 | -4/+4 | |
| | | | | | | More cleanup after r149798. llvm-svn: 150379 | |||||
* | remove unneeded config.h includes | Dylan Noblesmith | 2011-12-22 | 1 | -2/+0 | |
| | | | | llvm-svn: 147195 | |||||
* | rename getHostTriple into getDefaultTargetTriple in clang | Sebastian Pop | 2011-11-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 143503 | |||||
* | Add support for lazily linking bitcode files (using a new | Peter Collingbourne | 2011-10-30 | 2 | -1/+2 | |
| | | | | | | | -mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314 | |||||
* | Add missing include to clang-interpreter example, to make it work on ↵ | Eli Friedman | 2011-10-06 | 1 | -0/+1 | |
| | | | | | | Windows. Patch by Dean Pavlekovic. llvm-svn: 141324 | |||||
* | Rip out flags for controlling C++ "production mode" separately. | Bob Wilson | 2011-10-04 | 1 | -2/+1 | |
| | | | | | | | This is old leftover cruft from the days when C++ was not yet ready for prime time. llvm-svn: 141063 | |||||
* | Fix examples for r140478. PR11021. | Eli Friedman | 2011-09-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 140618 | |||||
* | Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. | Evan Cheng | 2011-08-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 138451 | |||||
* | Put Parse before Sema on the link line since parse depends on sema. | Nick Lewycky | 2011-06-01 | 1 | -2/+3 | |
| | | | | | | Also reflow these lines to fit in 80-col. llvm-svn: 132379 | |||||
* | Fix examples compile break due to rewrite of isa. | Manuel Klimek | 2011-05-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 131912 | |||||
* | Fix Makefile build of examples/clang-interpreter. | Nico Weber | 2011-04-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 130576 | |||||
* | Fixed build error. | John Thompson | 2011-03-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 128470 | |||||
* | Re-instate r125819 and r125820 with no functionality change | Peter Collingbourne | 2011-02-19 | 1 | -2/+0 | |
| | | | | llvm-svn: 126060 | |||||
* | Revert 125820 and 125819 to fix PR9266. | Rafael Espindola | 2011-02-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 126050 | |||||
* | Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction | Peter Collingbourne | 2011-02-18 | 1 | -2/+0 | |
| | | | | | | | | | 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 | |||||
* | [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 | |||||
* | 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: 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 | |||||
* | 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 | |||||
* | Revert "CMake: Update to use standard CMake dependency tracking facilities ↵ | Michael J. Spencer | 2010-09-13 | 1 | -18/+28 | |
| | | | | | | | | | | | | | 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 | -28/+18 | |
| | | | | | | 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 Serialization dependency to clang-interpreter | Peter Collingbourne | 2010-08-24 | 2 | -3/+4 | |
| | | | | llvm-svn: 111874 | |||||
* | Fix clang-interpreter build | Peter Collingbourne | 2010-07-24 | 2 | -2/+2 | |
| | | | | llvm-svn: 109347 | |||||
* | Break Frontend's dependency on Rewrite, Checker and CodeGen in shared ↵ | Daniel Dunbar | 2010-06-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | library configuration Currently, all AST consumers are located in the Frontend library, meaning that in a shared library configuration, Frontend has a dependency on Rewrite, Checker and CodeGen. This is suboptimal for clients which only wish to make use of the frontend. CodeGen in particular introduces a large number of unwanted dependencies. This patch breaks the dependency by moving all AST consumers with dependencies on Rewrite, Checker and/or CodeGen to their respective libraries. The patch therefore introduces dependencies in the other direction (i.e. from Rewrite, Checker and CodeGen to Frontend). After applying this patch, Clang builds correctly using CMake and shared libraries ("cmake -DBUILD_SHARED_LIBS=ON"). N.B. This patch includes file renames which are indicated in the patch body. Changes in this revision of the patch: - Fixed some copy-paste mistakes in the header files - Modified certain aspects of the coding to comply with the LLVM Coding Standards llvm-svn: 106010 | |||||
* | 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 | |||||
* | Teach the PrintFunctionNames example to be a proper module, so that | Douglas Gregor | 2010-06-08 | 1 | -0/+2 | |
| | | | | | | | Clang can load it as a plugin. Original fix by Troy D. Straszheim, which I extended with Darwin support. Fixes PR6801. llvm-svn: 105630 | |||||
* | Update LINK_COMPONENTS for examples. | Daniel Dunbar | 2010-06-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 105607 | |||||
* | Tip of the day: save before commit. | Benjamin Kramer | 2010-04-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 101896 | |||||
* | Fix -Wcast-qual warnings. | Benjamin Kramer | 2010-04-20 | 1 | -3/+5 | |
| | | | | llvm-svn: 101895 | |||||
* | Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enable | Daniel Dunbar | 2010-04-01 | 1 | -1/+2 | |
| | | | | | | Clang++ support, even in "Production" mode (for testing purposes). llvm-svn: 100119 | |||||
* | Wire up Daniel's new spiffy C interpreter into the CMake build system | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+30 | |
| | | | | llvm-svn: 97311 | |||||
* | Add comment | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 97309 | |||||
* | Add a minimal C interpreter example. | Daniel Dunbar | 2010-02-25 | 3 | -0/+197 | |
- Demonstrates how to build a standalone tool which loads source code using the Driver and Frontend libraries, and then uses CodeGen and the JIT to actually execute the code. - Still more complicated than it should be, but hey its only 153 lines. :) -- ddunbar@ozzy:tmp$ cat hello.c #include <stdio.h> int main() { printf("hello world\n"); return 0; } ddunbar@ozzy:tmp$ clang-interpreter hello.c hello world -- llvm-svn: 97133 |