summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
* Fix thinko (-fno-builtin != -nobuiltininc).Daniel Dunbar2009-11-261-1/+1
| | | | llvm-svn: 89918
* Add clang -cc1 parsing for preprocessor options.Daniel Dunbar2009-11-261-1/+39
| | | | llvm-svn: 89917
* Add clang -cc1 parsing for header search options.Daniel Dunbar2009-11-261-0/+40
| | | | llvm-svn: 89916
* What the FIXMEs want, the FIXMEs shall have.Daniel Dunbar2009-11-252-57/+31
| | | | llvm-svn: 89861
* Add an arg_iterator, for iterating over a subset of arguments in an ArgList.Daniel Dunbar2009-11-251-72/+40
| | | | llvm-svn: 89860
* Add clang -cc1 parsing for frontend options.Daniel Dunbar2009-11-251-0/+135
| | | | llvm-svn: 89856
* Add clang -cc1 parsing for preprocessor output options (-E).Daniel Dunbar2009-11-251-0/+6
| | | | llvm-svn: 89854
* Don't pass -fexceptions=0 (it is the default).Daniel Dunbar2009-11-251-8/+4
| | | | llvm-svn: 89853
* Fix for Path::isSpecialFile to Path::isRegularFile API in rev 89765.Edward O'Callaghan2009-11-251-1/+1
| | | | llvm-svn: 89849
* Fix for PR5568.Edward O'Callaghan2009-11-241-0/+7
| | | | llvm-svn: 89766
* Sketch the rest of the clang -cc1 option definitions, aka fun with C-x C-(.Daniel Dunbar2009-11-241-0/+21
| | | | llvm-svn: 89721
* Add clang -cc1 parsing of diagnostic options.Daniel Dunbar2009-11-231-38/+59
| | | | llvm-svn: 89716
* Recognize .hpp as a C++ header.Daniel Dunbar2009-11-221-0/+1
| | | | llvm-svn: 89630
* Add clang -cc1 parsing of analyzer options.Daniel Dunbar2009-11-221-0/+69
| | | | llvm-svn: 89629
* Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an aliasDaniel Dunbar2009-11-211-1/+1
| | | | | | for -output-pch=. llvm-svn: 89534
* Driver: Add clang -cc1 dependency output options parsing.Daniel Dunbar2009-11-201-3/+10
| | | | llvm-svn: 89508
* Switch CompilerInvocation::CreateFromArgs to take const char** arguments ↵Daniel Dunbar2009-11-201-11/+6
| | | | | | until Driver itself switches to StringRef. llvm-svn: 89503
* Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'.Daniel Dunbar2009-11-202-3/+4
| | | | llvm-svn: 89498
* Standardize Driver translation to call clang-cc using '-foo' form instead of ↵Daniel Dunbar2009-11-201-16/+16
| | | | | | '--foo'. llvm-svn: 89497
* 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
OpenPOWER on IntegriCloud