Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Frontend: Allow passing -cc1 level arguments to plugins. Patch by Troy ↵ | Daniel Dunbar | 2010-06-16 | 1 | -1/+14 | |
| | | | | | | Straszheim! llvm-svn: 106113 | |||||
* | 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 | 3 | -15/+0 | |
| | | | | llvm-svn: 105640 | |||||
* | Makefiles: Set Clang CPP compiler flags in a single location, instead of ↵ | Daniel Dunbar | 2010-06-08 | 3 | -4/+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 | 4 | -11/+11 | |
| | | | | | | - 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 | 2 | -19/+5 | |
| | | | | | | | 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 | 2 | -2/+2 | |
| | | | | 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 | |||||
* | 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 | |||||
* | 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 | 2 | -0/+31 | |
| | | | | llvm-svn: 97311 | |||||
* | Add comment | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 97309 | |||||
* | Add header + comments | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+12 | |
| | | | | llvm-svn: 97308 | |||||
* | Add a minimal C interpreter example. | Daniel Dunbar | 2010-02-25 | 4 | -1/+198 | |
| | | | | | | | | | | | | | | | | | | - 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 | |||||
* | -fno-rtti is now the default. | Chris Lattner | 2010-01-24 | 2 | -2/+0 | |
| | | | | llvm-svn: 94379 | |||||
* | Fix -plugin command line argument syntax for clang -cc1 change. | Daniel Dunbar | 2010-01-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 92780 | |||||
* | Fix CMake build on windows, from Cedric Venet | Douglas Gregor | 2009-12-20 | 1 | -4/+0 | |
| | | | | llvm-svn: 91794 | |||||
* | Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc. | Daniel Dunbar | 2009-12-11 | 2 | -4/+4 | |
| | | | | llvm-svn: 91176 | |||||
* | 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 | 4 | -11/+29 | |
| | | | | llvm-svn: 90359 | |||||
* | Add a very minimal README.txt for examples/PrintFunctionNames. | Daniel Dunbar | 2009-12-01 | 1 | -0/+10 | |
| | | | | llvm-svn: 90197 | |||||
* | Add missed CMake file for adding clang examples to CMake build. | Daniel Dunbar | 2009-11-17 | 1 | -0/+3 | |
| | | | | llvm-svn: 89080 | |||||
* | Add a trivial example plugin, which prints the names of the top-level decls. | Daniel Dunbar | 2009-11-15 | 4 | -1/+89 | |
| | | | | | | - The build scriptage is about twice as long as the code, which is nice. :) llvm-svn: 88826 | |||||
* | Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake ↵ | Daniel Dunbar | 2009-11-15 | 4 | -0/+111 | |
equivalent yet). Move tools/wpa to examples/wpa, and unbreak its build. llvm-svn: 88825 |