Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove clang-cc tool, it has joined in unholy union with clang. | Daniel Dunbar | 2009-12-12 | 3 | -402/+0 |
| | | | | | | - tools/driver will be renamed to tools/clang at some point. llvm-svn: 91195 | ||||
* | Remove 'LangOpts' from Diagnostic (added in ↵ | Steve Naroff | 2009-12-05 | 1 | -2/+0 |
| | | | | | | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=90642). Simply use the 'LangOpts' member already present in TextDiagnosticPrinter. Sorry for the confusion! llvm-svn: 90664 | ||||
* | Integrate the following from the 'objective-rewrite' branch: | Steve Naroff | 2009-12-05 | 1 | -0/+2 |
| | | | | | | | | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=71086 Note - This commit only includes the fix for: <rdar://problem/6309338> slightly different error message format for Visual Studio. The fix for <rdar://problem/6845623> from protocol to template. is separate/forthcoming. llvm-svn: 90642 | ||||
* | Kill off one last exit() call. | Daniel Dunbar | 2009-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 90439 | ||||
* | clang-cc: Move to CompilerInvocation based command line parsing. | Daniel Dunbar | 2009-12-03 | 4 | -1437/+3 |
| | | | | llvm-svn: 90426 | ||||
* | clang-cc: Honor -help and -version when using new style option parsing. | Daniel Dunbar | 2009-12-03 | 1 | -0/+16 |
| | | | | llvm-svn: 90422 | ||||
* | Add clang -cc1 -load option. | Daniel Dunbar | 2009-12-03 | 1 | -1/+12 |
| | | | | llvm-svn: 90413 | ||||
* | Change rtti/Rtti to RTTI, as it is an acronym. | Mike Stump | 2009-12-02 | 1 | -2/+2 |
| | | | | llvm-svn: 90334 | ||||
* | Introduce a new clang-cc option | Douglas Gregor | 2009-12-02 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | -remap-file=from;to which takes the file "from" and transparently replaces its contents with the contents of the file "to" from the source manager's perspective. This is the moral equivalent of cp from saved cp to from <call clang> cp saved from rm saved without all of the pesky file copying. llvm-svn: 90307 | ||||
* | libFrontend depends on libDriver now. | Zhongxing Xu | 2009-12-02 | 1 | -1/+1 |
| | | | | llvm-svn: 90295 | ||||
* | clang-cc: Add code (currently disabled) for parsing arguments using clang ↵ | Daniel Dunbar | 2009-11-30 | 1 | -0/+29 |
| | | | | | | | | -cc1 functionality instead of LLVM's CommandLine. - It works and passes test suite, but I want to polish and test a wee bit more before making the switch. llvm-svn: 90128 | ||||
* | Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵ | Daniel Dunbar | 2009-11-30 | 1 | -1/+9 |
| | | | | | | many) places to use this instead of using the backend -soft-float and -float-abi= options. llvm-svn: 90127 | ||||
* | Don't try to generate common globals for C++ files, instead of depending on ↵ | Daniel Dunbar | 2009-11-30 | 1 | -4/+0 |
| | | | | | | the FE to set NoCommon, and simplify CodeGenOptions initialization. llvm-svn: 90119 | ||||
* | Eliminate CodeGenOptions::TimePasses. | Daniel Dunbar | 2009-11-30 | 3 | -7/+3 |
| | | | | llvm-svn: 90118 | ||||
* | Eliminate CodeGenOptions::SimplifyLibCalls. | Daniel Dunbar | 2009-11-30 | 1 | -3/+0 |
| | | | | llvm-svn: 90117 | ||||
* | Simplify. | Daniel Dunbar | 2009-11-30 | 1 | -7/+5 |
| | | | | llvm-svn: 90115 | ||||
* | Put CompilerInvocation testing code in clang-cc instead of clang for now, I ↵ | Daniel Dunbar | 2009-11-30 | 3 | -1/+84 |
| | | | | | | | | can't bear to link all of clang into 'clang' yet. :) - Still triggered by a magic leading -cc1 argument, as before. llvm-svn: 90114 | ||||
* | This patch moves the frontend timer from clang-cc into CompilerInstance. | Kovarththanan Rajaratnam | 2009-11-29 | 1 | -9/+1 |
| | | | | | | | | | | | CompilerInstance already contains various objects that are used throughout the entire run. Also addresses Daniels review comments in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html llvm-svn: 90073 | ||||
* | Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵ | Daniel Dunbar | 2009-11-29 | 1 | -0/+41 |
| | | | | | | we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine. llvm-svn: 90063 | ||||
* | Add clang -cc1 parsing for LangOptions. | Daniel Dunbar | 2009-11-29 | 1 | -9/+1 |
| | | | | | | - This is the last major parsing piece, main FIXMEs remain. llvm-svn: 90059 | ||||
* | clang-cc: Tweak LangOptions parsing to make it a bit more obvious what ↵ | Daniel Dunbar | 2009-11-29 | 1 | -15/+15 |
| | | | | | | depends on what. llvm-svn: 90058 | ||||
* | clang-cc: Change -fsigned-char=0 to -fno-unsigned-char and pass -pic-level ↵ | Daniel Dunbar | 2009-11-29 | 1 | -4/+3 |
| | | | | | | using separate args. llvm-svn: 90054 | ||||
* | Move MainFileName option variable into CodeGenOptions instead of LangOptions. | Daniel Dunbar | 2009-11-29 | 1 | -24/+24 |
| | | | | llvm-svn: 90051 | ||||
* | Move program actions implications to clang::InitializeFrontendOptions which ↵ | Kovarththanan Rajaratnam | 2009-11-28 | 2 | -12/+9 |
| | | | | | | already contains such logic. llvm-svn: 90029 | ||||
* | Simplify. | Daniel Dunbar | 2009-11-27 | 1 | -28/+9 |
| | | | | llvm-svn: 89998 | ||||
* | Factor out a LangStandard class and coalesce the information about the ↵ | Daniel Dunbar | 2009-11-26 | 1 | -95/+24 |
| | | | | | | | | standards into LangStandards.def - I'd appreciate another pair of eyeballs to double check this. llvm-svn: 89919 | ||||
* | Add a missing include <cstdio> | Daniel Dunbar | 2009-11-25 | 1 | -0/+1 |
| | | | | llvm-svn: 89859 | ||||
* | Sketch the rest of the clang -cc1 option definitions, aka fun with C-x C-(. | Daniel Dunbar | 2009-11-24 | 1 | -0/+1 |
| | | | | llvm-svn: 89721 | ||||
* | Add clang -cc1 parsing of analyzer options. | Daniel Dunbar | 2009-11-22 | 1 | -2/+2 |
| | | | | llvm-svn: 89629 | ||||
* | Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'. | Daniel Dunbar | 2009-11-20 | 1 | -1/+1 |
| | | | | llvm-svn: 89498 | ||||
* | clang-cc: Lift setForcedLangOptions out of options initialization. | Daniel Dunbar | 2009-11-20 | 3 | -25/+23 |
| | | | | llvm-svn: 89462 | ||||
* | clang-cc: Remove some more llvm::cl::init arguments, by only setting values when | Daniel Dunbar | 2009-11-19 | 1 | -18/+22 |
| | | | | | | | | the argument is given. Also, tweak Opt.Sysroot defaulting. llvm-svn: 89318 | ||||
* | Change -code-completion-debug-printer to -no-code-completion-debug-printer. | Daniel Dunbar | 2009-11-19 | 1 | -7/+6 |
| | | | | | | Also, tweak a few help strings and update CompilerInvocation serialization for prev change. llvm-svn: 89317 | ||||
* | Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵ | Daniel Dunbar | 2009-11-19 | 1 | -11/+9 |
| | | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315 | ||||
* | clang-cc: Remove superfluous llvm::cl::init(false) arguments. | Daniel Dunbar | 2009-11-19 | 1 | -14/+7 |
| | | | | llvm-svn: 89314 | ||||
* | Fix -Asserts warning. | Daniel Dunbar | 2009-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 89149 | ||||
* | Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better done | Daniel Dunbar | 2009-11-17 | 1 | -3/+0 |
| | | | | | | in the driver. llvm-svn: 89073 | ||||
* | Move -fnext-runtime defaulting to driver (and change clang-cc default to | Daniel Dunbar | 2009-11-17 | 1 | -8/+1 |
| | | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 | ||||
* | Simplify PreprocessorOptions, it doesn't need abstracted field access. | Daniel Dunbar | 2009-11-17 | 1 | -7/+7 |
| | | | | llvm-svn: 89047 | ||||
* | Move InitializeAnalyzerOptions for consistency. | Daniel Dunbar | 2009-11-17 | 1 | -19/+18 |
| | | | | llvm-svn: 89040 | ||||
* | Remove unused NoPreprocess variable. | Daniel Dunbar | 2009-11-17 | 1 | -5/+0 |
| | | | | llvm-svn: 89039 | ||||
* | Remove unused IsCXXAware and IgnoreSysRoots option from ↵ | Daniel Dunbar | 2009-11-17 | 1 | -10/+9 |
| | | | | | | HeaderSearchOptions::Entry. llvm-svn: 89035 | ||||
* | Trim includes. | Daniel Dunbar | 2009-11-16 | 1 | -12/+2 |
| | | | | llvm-svn: 88982 | ||||
* | Store more information in HeaderSearchOptions so that its initialization is not | Daniel Dunbar | 2009-11-16 | 3 | -32/+20 |
| | | | | | | language dependent. llvm-svn: 88981 | ||||
* | clang-cc: Eliminate cyclic dependency in initializing CodeGenOptions. | Daniel Dunbar | 2009-11-16 | 3 | -22/+25 |
| | | | | llvm-svn: 88980 | ||||
* | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 3 | -85/+50 |
| | | | | | | | | - This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833 | ||||
* | Add pluggable action support to clang-cc, via -plugin command line option. | Daniel Dunbar | 2009-11-15 | 2 | -7/+49 |
| | | | | | | | | - Expects the plugin has been loaded with -load. - Using this may require disabling TOOL_NO_EXPORTS in the clang-cc Makefile, this breaks the llvm::Registry way of working (static constructors are bad, kids). This should be replaced with a "real" plugin model that has explicit plugin interfaces. llvm-svn: 88824 | ||||
* | Move the program action enum to FrontendOptions. | Daniel Dunbar | 2009-11-14 | 2 | -98/+69 |
| | | | | | | | | | -- ddunbar@giles:clang-cc (master)$ grep llvm::cl::opt clang-cc.cpp # Woot ddunbar@giles:clang-cc (master)$ -- llvm-svn: 88820 | ||||
* | clang-cc: Switch to using FrontendAction. Whee. | Daniel Dunbar | 2009-11-14 | 1 | -410/+59 |
| | | | | | | Please report any discrepancies you see in clang-cc, I'm not confident that our regression tests cover all the fun ways one can use clang-cc. llvm-svn: 88776 | ||||
* | Add CompilerInstance::InitializeSourceManager. | Daniel Dunbar | 2009-11-14 | 1 | -32/+1 |
| | | | | llvm-svn: 88764 |