summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
...
* Add clang -cc1 parsing of CodeGenOptions.Daniel Dunbar2009-11-201-0/+62
| | | | llvm-svn: 89464
* Driver: Add parsing for TargetOptions to CompilerInvocation::CreateFromArgs.Daniel Dunbar2009-11-201-0/+54
| | | | llvm-svn: 89435
* Fix some default in the option classes, and some CompilerInvocation argificationDaniel Dunbar2009-11-191-0/+10
| | | | | | errors. llvm-svn: 89388
* Driver: Move INPUT and UNKNOWN sentinel options into the OptParser.td file.Daniel Dunbar2009-11-192-10/+0
| | | | llvm-svn: 89371
* Add missing dependency for CMake.Daniel Dunbar2009-11-191-1/+1
| | | | llvm-svn: 89332
* Sketch .td file and build system goop for OptTable based clang-cc options.Daniel Dunbar2009-11-192-0/+44
| | | | llvm-svn: 89330
* Factor out OptTable::ParseArgs, for parsing an entire argument vector.Daniel Dunbar2009-11-192-28/+46
| | | | llvm-svn: 89327
* Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵Daniel Dunbar2009-11-191-6/+5
| | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315
* Driver: ArgList doesn't depend on Options.h anymore.Daniel Dunbar2009-11-194-2/+5
| | | | llvm-svn: 89313
* Driver: Take option ID for {Input,Unknown}Option, to drop dependency on ↵Daniel Dunbar2009-11-192-9/+8
| | | | | | actual options. llvm-svn: 89312
* Driver: Introduce OptSpecifier class for protecting access to an option id.Daniel Dunbar2009-11-194-43/+35
| | | | llvm-svn: 89310
* Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵Daniel Dunbar2009-11-194-21/+24
| | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308
* Driver: Resolve inconsistency in matching options against options which areDaniel Dunbar2009-11-191-7/+2
| | | | | | aliases -- just treat this case as an (unchecked) client error. llvm-svn: 89306
* Use Option::matches instead of direct ID comparison.Daniel Dunbar2009-11-193-13/+13
| | | | llvm-svn: 89305
* Driver: Switch to using TableGen'erated Options.inc instead of Options.def file.Daniel Dunbar2009-11-192-2/+2
| | | | llvm-svn: 89288
* Driver: Split OptTable out into OptTable.{h,cpp}Daniel Dunbar2009-11-195-32/+47
| | | | llvm-svn: 89283
* Make MSVC happy.Daniel Dunbar2009-11-181-12/+12
| | | | llvm-svn: 89247
* Driver: Rework OptTable to have no dependency on the options it manages.Daniel Dunbar2009-11-182-100/+68
| | | | llvm-svn: 89234
* Driver: Make local type name more distinct.Daniel Dunbar2009-11-181-3/+3
| | | | llvm-svn: 89233
* Driver: Store Option ID field as unsigned to drop dependency on the optionsDaniel Dunbar2009-11-182-12/+11
| | | | | | type. llvm-svn: 89232
* Driver: Switch Options.def to storing flags as a bitmask (instead of mangledDaniel Dunbar2009-11-181-25/+37
| | | | | | into a string). llvm-svn: 89212
* Fix passing stdc++ correctly in the FreeBSD toolchain support, Credit to ↵Edward O'Callaghan2009-11-181-4/+2
| | | | | | Roman Divacky. llvm-svn: 89205
* Added block type introspection support.David Chisnall2009-11-171-1/+3
| | | | | | As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134
* Add -fblocks, -stack-protector, and -fobjc-nonfragile-abi defaulting to driver,Daniel Dunbar2009-11-172-19/+36
| | | | | | | instead of using getDefaultLangOptions. - Remove unused -fobjc-tight-layout while at it. llvm-svn: 89065
* Add driver::types::isObjC predicate.Daniel Dunbar2009-11-171-0/+13
| | | | llvm-svn: 89064
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-2/+6
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Move -fms-extensions defaulting to driver, instead of using ↵Daniel Dunbar2009-11-171-2/+7
| | | | | | getDefaultLangOptions. llvm-svn: 89057
* Move char-is-signed defaulting to driver, instead of usingDaniel Dunbar2009-11-171-9/+22
| | | | | | getDefaultLangOptions. llvm-svn: 89053
* Add clang -mcpu=native support, patch by Roman Divacky, varioustweaks by me.Daniel Dunbar2009-11-141-10/+25
| | | | | | | - We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819
* Fix for FreeBSD toolchain in regards to CPP, Credit to Roman Divacky.Edward O'Callaghan2009-11-081-0/+4
| | | | llvm-svn: 86459
* Adding -fshort-wchar option.John Thompson2009-11-051-0/+7
| | | | llvm-svn: 86167
* Move -fcolor-diagnostics logic to driver.Daniel Dunbar2009-11-041-3/+8
| | | | llvm-svn: 86014
* Move logic for selection -fmessage-length= to driver.Daniel Dunbar2009-11-041-1/+12
| | | | llvm-svn: 86013
* Fix indentation.Daniel Dunbar2009-11-041-24/+24
| | | | llvm-svn: 86011
* Merge constant array and structures. This will create a global variables for ↵Tanya Lattner2009-11-041-0/+3
| | | | | | arrays and structs that are constant and their initializer is constant. It is on by default but can be disable with the flag -fno-merge-all-constants. llvm-svn: 85991
* Implement support for the -undef command line option, patch byChris Lattner2009-11-031-0/+2
| | | | | | Roman Divacky! PR5363 llvm-svn: 85932
* Fix -pthread on dragonfly. Patch by Sascha Wildner.Mike Stump2009-10-311-1/+1
| | | | llvm-svn: 85679
* Change the driver to do the Darwin triple mangling itself instead of forwardingDaniel Dunbar2009-10-301-6/+55
| | | | | | -mmacosx-version-min and -miphoneos-version-min to clang-cc. llvm-svn: 85600
* Remove some obsolete or unnecessary FIXMEs.Daniel Dunbar2009-10-291-17/+4
| | | | llvm-svn: 85475
* PR5328: Allow duplicatic -pedantic (and -pedantic-errors) options.Daniel Dunbar2009-10-291-1/+3
| | | | | | - clang-cc doesn't care about their relative order with other -W options. llvm-svn: 85473
* Kill off MakeFormattedString helper function.Daniel Dunbar2009-10-291-14/+5
| | | | llvm-svn: 85472
* Reject -I- in driver instead of clang-cc.Daniel Dunbar2009-10-291-0/+4
| | | | llvm-svn: 85469
* [llvm up]Douglas Gregor2009-10-292-62/+50
| | | | | | | Switch a few ugly switch-on-string-literal constructs to use the new llvm::StringSwitch. llvm-svn: 85461
* Fix for PR4887, Credit to Jonathan Gray.Edward O'Callaghan2009-10-281-1/+4
| | | | llvm-svn: 85392
* Rename -nostdclanginc to -nobuiltininc.Rafael Espindola2009-10-261-1/+1
| | | | llvm-svn: 85116
* Driver: Fix thinko in logic for finding gcc's tool chain directory.Daniel Dunbar2009-10-221-2/+4
| | | | llvm-svn: 84805
* Driver: don't produce bogus osx version numbers if no version (aka 0) was ↵Benjamin Kramer2009-10-211-1/+2
| | | | | | specified. llvm-svn: 84781
* Driver: If unable to find the gcc tool chain, try the next OS rev.Daniel Dunbar2009-10-201-1/+18
| | | | llvm-svn: 84656
* AuroraUX toolchain should call GNU assembler not the Solaris assembler.Edward O'Callaghan2009-10-191-1/+1
| | | | llvm-svn: 84469
* dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ↵Edward O'Callaghan2009-10-161-1/+1
| | | | | | ld syntax in AuroraUX toolchain. llvm-svn: 84266
OpenPOWER on IntegriCloud