summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak -ccc-cxx and -ccc-clang-cxx defaulting.Daniel Dunbar2009-12-051-2/+3
| | | | llvm-svn: 90629
* Driver: Switch -ccc-* options to using the standard options functionality.Daniel Dunbar2009-12-041-167/+38
| | | | | | - I still want to get rid of them, but manually handling them isn't adding value. llvm-svn: 90602
* Add OptTable::PrintHelp.Daniel Dunbar2009-12-031-0/+2
| | | | llvm-svn: 90420
* What the FIXMEs want, the FIXMEs shall have.Daniel Dunbar2009-11-251-4/+3
| | | | llvm-svn: 89861
* Factor out OptTable::ParseArgs, for parsing an entire argument vector.Daniel Dunbar2009-11-191-28/+11
| | | | llvm-svn: 89327
* Driver: ArgList doesn't depend on Options.h anymore.Daniel Dunbar2009-11-191-2/+2
| | | | llvm-svn: 89313
* Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵Daniel Dunbar2009-11-191-1/+1
| | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308
* Use Option::matches instead of direct ID comparison.Daniel Dunbar2009-11-191-3/+3
| | | | llvm-svn: 89305
* Driver: Split OptTable out into OptTable.{h,cpp}Daniel Dunbar2009-11-191-0/+1
| | | | llvm-svn: 89283
* Driver: Rework OptTable to have no dependency on the options it manages.Daniel Dunbar2009-11-181-1/+1
| | | | llvm-svn: 89234
* Allow customization for the version line.Mike Stump2009-10-091-0/+3
| | | | llvm-svn: 83652
* Provide a common set of routines in Version.h that return SubversionDouglas Gregor2009-10-051-15/+4
| | | | | | | branch/revision information. Use that information in the driver, rather than one-off branch/revision computation. llvm-svn: 83321
* Push "clang-is-production" logic up to tools/driver, and make it hittable byDaniel Dunbar2009-09-221-13/+15
| | | | | | defining the CLANG_IS_PRODUCTION Makefile variable. llvm-svn: 82583
* Improve driver error message when only running the preprocessor and an input isDaniel Dunbar2009-09-171-4/+13
| | | | | | | | | | | | | | | | already preprocessed. -- ddunbar@giles:tmp$ touch t.i ddunbar@giles:tmp$ gcc -E t.i ddunbar@giles:tmp$ clang -E t.i clang: warning: t.i: previously preprocessed input unused when '-E' is present ddunbar@giles:tmp$ -- <rdar://problem/6813375> [driver] driver prints confusing message when running -E on preprocessed file llvm-svn: 82120
* Change Get{File,Program}Path to return an std::string (instead of a sys::Path).Daniel Dunbar2009-09-091-15/+11
| | | | llvm-svn: 81389
* Push bound architecture name into Compilation::getArgsForToolChain.Daniel Dunbar2009-09-091-7/+7
| | | | llvm-svn: 81365
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-2/+1
| | | | llvm-svn: 81346
* Validate arguments to -arch.Daniel Dunbar2009-09-081-0/+10
| | | | llvm-svn: 81281
* Rename HostInfo::getToolChain to HostInfo::CreateToolChain, and don't recreateDaniel Dunbar2009-09-081-13/+8
| | | | | | the default tool chain when binding the default architecture. llvm-svn: 81279
* Simplify.Daniel Dunbar2009-09-081-7/+2
| | | | llvm-svn: 81277
* Fix ShouldUseClangCompiler to use llvm::Triple.Daniel Dunbar2009-09-081-28/+22
| | | | | | - -1 FIXME, and fixes 'clang -arch armv4t ...', for example. llvm-svn: 81276
* Tweak & reflow comments, and delete trailing whitespace.Daniel Dunbar2009-09-081-193/+173
| | | | llvm-svn: 81275
* Add -ccc-install-dir option for faking installation path.Daniel Dunbar2009-09-041-1/+7
| | | | llvm-svn: 81017
* Update.Mike Stump2009-09-031-0/+4
| | | | llvm-svn: 80864
* Add driver support for -emit-ast and AST compilation steps.Daniel Dunbar2009-09-011-9/+13
| | | | | | - <rdar://problem/7185031> Add 'clang' option '-emit-ast' llvm-svn: 80678
* Remove arch normalization from Driver, this should be unnecessary now thatDaniel Dunbar2009-08-241-14/+0
| | | | | | things have moved to llvm::Triple. llvm-svn: 79902
* API changes to match llvm ToT.Chris Lattner2009-08-231-4/+4
| | | | llvm-svn: 79868
* Reenable clang using clang-cc for C++ and all archs by default.Daniel Dunbar2009-08-231-1/+1
| | | | llvm-svn: 79861
* Temporarily switch clang back to not using clang-cc by default for C++, and onlyDaniel Dunbar2009-08-231-1/+14
| | | | | | using clang-cc on i386 and x86_64. llvm-svn: 79859
* Second half of, clang, AuroraUX toolchain support.Edward O'Callaghan2009-08-221-0/+2
| | | | llvm-svn: 79713
* Switch the driver back to always using clang-cc by default (for C++, andDaniel Dunbar2009-07-231-4/+3
| | | | | | | | | | | | regardless of the architecture). - This is a good default for development & testing; for example without this any tests using 'clang' in the test suite will fail on PowerPC, since the driver will avoid using clang. - We don't want to actually ship something built this way, but that should be handled via some sort of configuration file. llvm-svn: 76886
* driver: Print --version on stdout, to match gcc.Daniel Dunbar2009-07-211-7/+7
| | | | | | - Patch by Jean-Daniel Dupas llvm-svn: 76632
* Driver: Move Compilation::Execute to Driver::ExecuteCompilation.Daniel Dunbar2009-07-011-0/+48
| | | | | | | | | - The Compilation is just a helper class, it shouldn't have that amount of logic in it. - No functionality change. llvm-svn: 74634
* OpenBSD support.Daniel Dunbar2009-06-291-0/+2
| | | | | | - Patch by Jonathan Gray! llvm-svn: 74453
* Stub out printing of the thread model with -v.Daniel Dunbar2009-06-161-1/+6
| | | | | | - Turns out libstdcxx greps for this in configure. llvm-svn: 73582
* Fake support for -print-multi-*Daniel Dunbar2009-06-161-0/+41
| | | | | | | - I think we will eventually need to support this for realz, and some build processes seem to depend on these options. llvm-svn: 73581
* Fix for PR4140: Add the start of a Linux toolchain (basically, just Eli Friedman2009-05-261-0/+2
| | | | | | barely enough to get the given usage of -print-file-name working). llvm-svn: 72412
* (llvm up) Use llvm::Triple for storing target triples.Daniel Dunbar2009-05-221-40/+29
| | | | | | | - This commit has some messy stuff in it to extend string lifetimes, but that will go away once we switch to using the enum'd Triple interfaces. llvm-svn: 72243
* Reformat a commentDaniel Dunbar2009-05-181-5/+4
| | | | llvm-svn: 72046
* Add --analyze-auto.Daniel Dunbar2009-05-061-2/+3
| | | | | | | | - Currently just an alias for --analyze, eventually we want to refit --analyze so that it is less automatic (i.e., does not force plist output and does not hard code the list of checks). llvm-svn: 71056
* DragonFly ToolChain definition for driver.Daniel Dunbar2009-05-021-1/+4
| | | | | | - Patch by Alex Hornung! llvm-svn: 70635
* Revert r70424. We don't need itDouglas Gregor2009-04-291-3/+0
| | | | llvm-svn: 70432
* Add PCH version to the -v outputDouglas Gregor2009-04-291-0/+3
| | | | llvm-svn: 70424
* Enable PCH by defaultDouglas Gregor2009-04-281-1/+1
| | | | llvm-svn: 70339
* Add a header containing the Clang version; make the driver use thisDouglas Gregor2009-04-271-4/+5
| | | | | | | | | Clang version value rather than hard-coding "1.0". Add PCH and Clang version information into the PCH file. Reject PCH files with the wrong version information. llvm-svn: 70264
* Turn PCH off by default, yet again. I'm happier about it this time, thoughDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70168
* Trying turning on PCH by default yet again. We might actually a chance at ↵Douglas Gregor2009-04-261-1/+1
| | | | | | success now llvm-svn: 70164
* Turn off PCH by default, againDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70113
* One more crazy try with PCH-by-defaultDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70112
* Turn of PCH by default. I got the info I was looking forDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70106
OpenPOWER on IntegriCloud