Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a stub frontend action for BoostCon, for next week's workshop. | Douglas Gregor | 2010-05-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 103258 | |||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 101786 | |||||
* | Driver/Frontend: Add support for -mllvm, which forwards options to the LLVM ↵ | Daniel Dunbar | 2010-04-15 | 1 | -0/+13 | |
| | | | | | | | | option parser. - Note that this is a behavior change, previously -mllvm at the driver level forwarded to clang -cc1. The driver does a little magic to make sure that '-mllvm -disable-llvm-optzns' works correctly, but other users will need to be updated to use -Xclang. llvm-svn: 101354 | |||||
* | Fronted: Kill overly specialized RecordLayoutDumper, just make ↵ | Daniel Dunbar | 2010-04-08 | 1 | -1/+0 | |
| | | | | | | -dump-record-layouts a bit that Sema honors. llvm-svn: 100747 | |||||
* | update for api change. | Chris Lattner | 2010-04-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 100718 | |||||
* | reduce indentation, tidy. | Chris Lattner | 2010-04-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 100537 | |||||
* | inline in MC assembly parsers. clang -integrated-as now | Chris Lattner | 2010-04-05 | 1 | -0/+1 | |
| | | | | | | works with inline asm! llvm-svn: 100493 | |||||
* | Teach Clang's -cc1 option -print-stats to print LLVM statistics. | Douglas Gregor | 2010-03-30 | 1 | -0/+3 | |
| | | | | llvm-svn: 99894 | |||||
* | make -ftime-report work even in -disable-free mode. Woo, finally. | Chris Lattner | 2010-03-30 | 1 | -0/+5 | |
| | | | | | | rdar://7781603 llvm-svn: 99878 | |||||
* | Frontend: Don't free the CompilerInstance or FrontendActions when running under | Daniel Dunbar | 2010-03-23 | 1 | -18/+27 | |
| | | | | | | | | -disable-free. Among other things, this fixes freeing of the LLVM module on exit. - Note that this means we are disable-free'ing of a lot more stuff than we used to -- this should flush out bugs in anything left that is trying to do real work in its destructor. I did a mini-audit but '::~' is not totally uncommon. llvm-svn: 99258 | |||||
* | clang -cc1: Kill off -empty-input only, and replace with -init-only which is an | Daniel Dunbar | 2010-03-19 | 1 | -0/+1 | |
| | | | | | | | | actual action. - This is easier to use, and more reliable for timing the thing this was actually meant to be useful for. llvm-svn: 98978 | |||||
* | Frontend: Pull CodeGenAction out more, and eliminate CreateBackendConsumer. | Daniel Dunbar | 2010-02-25 | 1 | -0/+1 | |
| | | | | | | | | | | This is the way I would like to move the frontend function towards -- distinct pieces of functionality should be exposed only via FrontendAction implementations which have clean and relatively-stable APIs. This also isolates the surface area in clang which depends on LLVM CodeGen. llvm-svn: 97110 | |||||
* | Remove unused includes. | Daniel Dunbar | 2010-02-21 | 1 | -2/+0 | |
| | | | | llvm-svn: 96760 | |||||
* | CompilerInstance: Move LLVMContext member out of constructor. | Daniel Dunbar | 2010-02-16 | 1 | -1/+3 | |
| | | | | llvm-svn: 96314 | |||||
* | Switch clang to use its own LLVMContext (not the global one). | Daniel Dunbar | 2010-02-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 96313 | |||||
* | Introduce a testbed for merging multiple ASTs into a single AST | Douglas Gregor | 2010-02-09 | 1 | -1/+16 | |
| | | | | | | | context with the AST importer. WIP, still useless but at least it has a test. llvm-svn: 95683 | |||||
* | clang -cc1: Wire up -emit-obj, for emitting object files. | Daniel Dunbar | 2010-02-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 95182 | |||||
* | cc1: Factor out CompilerInstance::ExecuteAction which has the majority of the | Daniel Dunbar | 2010-01-13 | 1 | -87/+13 | |
| | | | | | | | | clang -cc1 logic for running an action against a set of options. - This should make it easier to build tools that have a clang -cc1 like interface, but aren't actually part of clang -cc1. llvm-svn: 93282 | |||||
* | cc1: Lift creation of the FrontendAction higher. | Daniel Dunbar | 2010-01-13 | 1 | -7/+6 | |
| | | | | llvm-svn: 93281 | |||||
* | Remove RewriteBlocks. It has been superseded by RewriteObjC | Kovarththanan Rajaratnam | 2009-12-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 92014 | |||||
* | Fix pretty stack traces. | Daniel Dunbar | 2009-12-16 | 1 | -2/+0 | |
| | | | | llvm-svn: 91537 | |||||
* | Add -resource-dir to clang -cc1, this allows the base directory for compiler | Daniel Dunbar | 2009-12-15 | 1 | -3/+3 | |
| | | | | | | | resources (e.g., /usr/lib/clang/1.1) to be passed on the command line instead of computed. llvm-svn: 91370 | |||||
* | CompilerInvocation: Move builtin-include-path logic out of ↵ | Daniel Dunbar | 2009-12-13 | 1 | -9/+12 | |
| | | | | | | CompilerInvocation::CreateFromArgs. llvm-svn: 91237 | |||||
* | Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave | Jeffrey Yasskin | 2009-12-12 | 1 | -1/+1 | |
| | | | | | | no extra safety anyway. llvm-svn: 91207 | |||||
* | Implement clang -cc1. | Daniel Dunbar | 2009-12-11 | 1 | -3/+313 | |
| | | | | | | - I apologize for the link time horrors, my goal is to kill off clang-cc in fairly short order. llvm-svn: 91170 | |||||
* | Put CompilerInvocation testing code in clang-cc instead of clang for now, I ↵ | Daniel Dunbar | 2009-11-30 | 1 | -68/+1 | |
| | | | | | | | | can't bear to link all of clang into 'clang' yet. :) - Still triggered by a magic leading -cc1 argument, as before. llvm-svn: 90114 | |||||
* | Change CompilerInvocation::CreateFromArgs to report errors using a proper ↵ | Daniel Dunbar | 2009-11-29 | 1 | -2/+3 | |
| | | | | | | | | diagnostic engine. - Clients that care about having the diagnostics output honor the user-controllable diagnostic options can buffer the diagnostics and issue them later. llvm-svn: 90092 | |||||
* | Change CompilerInvocation::CreateFromArgs to take Argv0 and the address of ↵ | Daniel Dunbar | 2009-11-29 | 1 | -3/+5 | |
| | | | | | | main (or something in the main executable) so it can find the builtin compiler files. llvm-svn: 90090 | |||||
* | Switch CompilerInvocation::CreateFromArgs to take const char** arguments ↵ | Daniel Dunbar | 2009-11-20 | 1 | -5/+5 | |
| | | | | | | until Driver itself switches to StringRef. llvm-svn: 89503 | |||||
* | Fix some default in the option classes, and some CompilerInvocation argification | Daniel Dunbar | 2009-11-19 | 1 | -4/+4 | |
| | | | | | | errors. llvm-svn: 89388 | |||||
* | Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation. | Daniel Dunbar | 2009-11-19 | 1 | -0/+88 | |
llvm-svn: 89333 |