Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clang-cc: Move to CompilerInvocation based command line parsing. | Daniel Dunbar | 2009-12-03 | 1 | -1283/+0 |
| | | | | llvm-svn: 90426 | ||||
* | 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 | ||||
* | 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 | 1 | -3/+1 |
| | | | | llvm-svn: 90118 | ||||
* | Eliminate CodeGenOptions::SimplifyLibCalls. | Daniel Dunbar | 2009-11-30 | 1 | -3/+0 |
| | | | | llvm-svn: 90117 | ||||
* | 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 | 1 | -6/+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 | ||||
* | 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 | 1 | -5/+1 |
| | | | | 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 | ||||
* | 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 | ||||
* | Store more information in HeaderSearchOptions so that its initialization is not | Daniel Dunbar | 2009-11-16 | 1 | -15/+9 |
| | | | | | | language dependent. llvm-svn: 88981 | ||||
* | clang-cc: Eliminate cyclic dependency in initializing CodeGenOptions. | Daniel Dunbar | 2009-11-16 | 1 | -6/+15 |
| | | | | llvm-svn: 88980 | ||||
* | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 1 | -57/+36 |
| | | | | | | | | - 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 | 1 | -1/+13 |
| | | | | | | | | - 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 | 1 | -0/+61 |
| | | | | | | | | | -- ddunbar@giles:clang-cc (master)$ grep llvm::cl::opt clang-cc.cpp # Woot ddunbar@giles:clang-cc (master)$ -- llvm-svn: 88820 | ||||
* | Turn -fixit it back into a mode, but make -fixit-at imply that mode this time | Daniel Dunbar | 2009-11-14 | 1 | -5/+0 |
| | | | | | | | (instead of running it with arbitrary consumers). - Also, turn any -fixit-at lookup failure into an error. llvm-svn: 88757 | ||||
* | Add clang-cc option "--analyzer-experimental-internal-checks". This | Ted Kremenek | 2009-11-13 | 1 | -0/+5 |
| | | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671 | ||||
* | Move input kind identification (-x) into FrontendOptions. | Daniel Dunbar | 2009-11-13 | 1 | -30/+84 |
| | | | | llvm-svn: 87066 | ||||
* | Add clang-cc option "-analyzer-experimental-checks" to enable experimental ↵ | Ted Kremenek | 2009-11-13 | 1 | -4/+9 |
| | | | | | | path-sensitive checks. The idea is to separate "barely working" or "skunkworks" checks from ones that should always run. Later we need more fine-grain checker control. llvm-svn: 87053 | ||||
* | Move -target-{triple,abi} options into FrontendOptions. | Daniel Dunbar | 2009-11-13 | 1 | -0/+10 |
| | | | | llvm-svn: 87051 | ||||
* | Move code completion options to clang-cc | Daniel Dunbar | 2009-11-13 | 1 | -2/+19 |
| | | | | llvm-svn: 87050 | ||||
* | Move FixItAtLocations into FrontendOptions | Daniel Dunbar | 2009-11-12 | 1 | -0/+5 |
| | | | | llvm-svn: 87046 | ||||
* | clang-cc: Keep Verbose option with HeaderSearchOptions, for now. | Daniel Dunbar | 2009-11-12 | 1 | -1/+3 |
| | | | | llvm-svn: 87045 | ||||
* | Add FrontendOptions, and starting moving clang-cc to it. | Daniel Dunbar | 2009-11-12 | 1 | -4/+73 |
| | | | | llvm-svn: 87044 | ||||
* | Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library. | Chandler Carruth | 2009-11-12 | 1 | -8/+8 |
| | | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998 | ||||
* | Move warning options into DiagnosticOptions. | Daniel Dunbar | 2009-11-12 | 1 | -1/+22 |
| | | | | llvm-svn: 86968 | ||||
* | Move dump-build-information option into DiagnosticOptions. | Daniel Dunbar | 2009-11-12 | 1 | -5/+11 |
| | | | | llvm-svn: 86966 | ||||
* | Move TokenCache option to PreprocessorOptions. | Daniel Dunbar | 2009-11-12 | 1 | -0/+17 |
| | | | | llvm-svn: 86940 | ||||
* | Add DependencyOutputOptions to wrap -M... options, and propogate to | Daniel Dunbar | 2009-11-11 | 1 | -0/+36 |
| | | | | | | CompilerInvocation and clang-cc. llvm-svn: 86880 | ||||
* | Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to | Daniel Dunbar | 2009-11-11 | 1 | -0/+38 |
| | | | | | | clang-cc/Options.cpp llvm-svn: 86828 | ||||
* | Simplifiy target feature handling by coalescing all the logic into | Daniel Dunbar | 2009-11-11 | 1 | -36/+25 |
| | | | | | | InitializeCompileOptions. llvm-svn: 86826 |