| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove caseless switch. | Benjamin Kramer | 2010-04-08 | 1 | -7/+3 |
| | | | | | llvm-svn: 100770 | ||||
| * | add a new driver-level -ferror-limit=412 option, which causes clang to stop | Chris Lattner | 2010-04-07 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | emitting diagnostics after it has produced that many errors. Give this a default value of 20 which produces plenty of errors for people to fix before recompiling but not so many that their entire console scrolls away when the compiler gets confused. The experience looks like this: $ clang foo.c <tons of crap> foo.c:102:3: error: unknown type name 'somethingbad' somethingbad x; ^ fatal error: too many errors emitted, stopping now 36 warnings and 20 errors generated. llvm-svn: 100689 | ||||
| * | Driver: Add a Tool::hasGoodDiagnostics hook, and use it to simplify logic for | Daniel Dunbar | 2010-04-06 | 2 | -5/+6 |
| | | | | | | | | | deciding when we need to emit an extra "command failed" diagnostic. - This also fixes the case where we were emitting that extra diagnostics, even when using clang w/ the integrated assembler, which has good diagnostics. llvm-svn: 100529 | ||||
| * | Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enable | Daniel Dunbar | 2010-04-01 | 1 | -2/+4 |
| | | | | | | | Clang++ support, even in "Production" mode (for testing purposes). llvm-svn: 100119 | ||||
| * | add support for -MQ flag to quote targets in dependency file, | Chris Lattner | 2010-03-29 | 1 | -6/+52 |
| | | | | | | | PR6661, patch by Ori Avtalion! llvm-svn: 99821 | ||||
| * | Driver/Darwin: Support CCC_ENABLE_NEW_DARWIN_TOOLCHAIN as an environment | Daniel Dunbar | 2010-03-26 | 1 | -4/+6 |
| | | | | | | | | override to enable use of the DarwinClang tool chain on all platforms (not just ARM). llvm-svn: 99660 | ||||
| * | Implement support for -nostdc++. Fixes PR6446. | Douglas Gregor | 2010-03-24 | 1 | -0/+2 |
| | | | | | llvm-svn: 99417 | ||||
| * | Disable the emission of frontend warnings (not errors) under --analyze. | Ted Kremenek | 2010-03-22 | 1 | -0/+5 |
| | | | | | | | Fixes <rdar://problem/7405601>. llvm-svn: 99222 | ||||
| * | Sort calls to add_clang_library() | Kovarththanan Rajaratnam | 2010-03-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 99191 | ||||
| * | Add very limited support for GCC's '-B' flag. This allows us to support unusual | Chandler Carruth | 2010-03-22 | 1 | -0/+20 |
| | | | | | | | toolchain configurations and is a small step toward FreeBSD support. llvm-svn: 99159 | ||||
| * | Driver: Fix thinkos that prevented Clang from picking the right deployment | Daniel Dunbar | 2010-03-20 | 1 | -2/+2 |
| | | | | | | | target when both {MACOSX,IPHONEOS}_DEPLOYMENT_TARGET were set. llvm-svn: 99055 | ||||
| * | Driver: Support CC_PRINT_OPTIONS, used for logging the compile commands (in ↵ | Daniel Dunbar | 2010-03-20 | 2 | -6/+32 |
| | | | | | | | -v style) to a file. llvm-svn: 99054 | ||||
| * | Driver: Fix -### to quote shell special characters, following gcc. | Daniel Dunbar | 2010-03-20 | 1 | -4/+15 |
| | | | | | llvm-svn: 99053 | ||||
| * | Driver: Fix a number of -fapple-kext issues: | Daniel Dunbar | 2010-03-20 | 1 | -5/+13 |
| | | | | | | | | | | | | | | - Disable RTTI. - Disable use of __cxa_atexit. - Disable unwind tables. - Enable freestanding mode. Also, honor -fhosted correctly. <rdar://problem/7515383> C++ support: -fapple-kext not honored llvm-svn: 99041 | ||||
| * | C++: Add support for -fno-use-cxa-atexit. | Daniel Dunbar | 2010-03-20 | 1 | -0/+5 |
| | | | | | | | | | - So much typing, so little gain... Also, rename the __cxx_global_initialization function just to match llvm-gcc. llvm-svn: 99039 | ||||
| * | Driver: Allow Render{Separate,Joined} option flags on JoinedOrSeparate ↵ | Daniel Dunbar | 2010-03-20 | 2 | -7/+8 |
| | | | | | | | | | option types. Also, simplify/fix SeparateArg::render with forced join. llvm-svn: 99022 | ||||
| * | Driver: Fix possible crash when targetting an unknown (unsupported) Darwin | Daniel Dunbar | 2010-03-20 | 2 | -0/+8 |
| | | | | | | | platform, e.g. ppc. llvm-svn: 99016 | ||||
| * | Make -faccess-control and -fno-access-control driver options. | John McCall | 2010-03-17 | 1 | -0/+6 |
| | | | | | llvm-svn: 98703 | ||||
| * | Driver: Fix forwarding of -fno-lax-vector-conversions. | Daniel Dunbar | 2010-03-16 | 1 | -1/+6 |
| | | | | | llvm-svn: 98639 | ||||
| * | Driver: Free Action objects. | Daniel Dunbar | 2010-03-11 | 2 | -3/+8 |
| | | | | | llvm-svn: 98263 | ||||
| * | Driver: Free synthesized derived arguments. | Daniel Dunbar | 2010-03-11 | 1 | -7/+14 |
| | | | | | llvm-svn: 98262 | ||||
| * | Driver: Free jobs in JobList and PipedJob instances. | Daniel Dunbar | 2010-03-11 | 1 | -0/+10 |
| | | | | | llvm-svn: 98261 | ||||
| * | Fix -Wsign-compare warnings reported by clang++. | Ted Kremenek | 2010-03-10 | 1 | -3/+3 |
| | | | | | llvm-svn: 98174 | ||||
| * | Remove redundant semicolon | Douglas Gregor | 2010-03-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 97930 | ||||
| * | Don't produce debug info when given -g. Fixes PR6529. | Rafael Espindola | 2010-03-07 | 1 | -1/+3 |
| | | | | | llvm-svn: 97897 | ||||
| * | add TCE target support, patch by Pekka J! | Chris Lattner | 2010-03-04 | 4 | -0/+130 |
| | | | | | llvm-svn: 97746 | ||||
| * | Add in some more MIPS command line options. | Eric Christopher | 2010-03-02 | 2 | -0/+72 |
| | | | | | | | Patch by Oleksandr Tymoshenko! llvm-svn: 97544 | ||||
| * | Driver: Allow driver title (for --help) to be overridden by clients. | Daniel Dunbar | 2010-02-25 | 1 | -2/+3 |
| | | | | | llvm-svn: 97106 | ||||
| * | Unconditionally support block introspection data in a new field at the end | Blaine Garst | 2010-02-23 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | of the block descriptor field. This field is the ObjC style @encode signature of the implementation function, and was to this point conditionally provided in the block literal data structure. That provisional support is removed. Additionally, eliminate unused enumerations for the block literal flags field. The first shipping ABI unconditionally set (1<<29) but this bit is unused by the runtime, so the second ABI will unconditionally have (1<<30) set so that the runtime can in fact distinguish whether the additional data is present or not. llvm-svn: 96989 | ||||
| * | Enable -mconstructor-aliases by default on non-darwin platforms. | John McCall | 2010-02-19 | 1 | -0/+5 |
| | | | | | | | The linker bug holding this back is Darwin-specific. llvm-svn: 96655 | ||||
| * | PR5803: clang++: Treat untyped 'C' inputs as C++. | Daniel Dunbar | 2010-02-17 | 2 | -0/+27 |
| | | | | | | | | - Patch by Andrzej K. Haczewski, with a tweak by me to emit a 'deprecated' diagnostic when we do this. We'll see what zee users say. llvm-svn: 96511 | ||||
| * | Driver: Tweak freebsd::Link, by Roman Divacky. | Daniel Dunbar | 2010-02-17 | 1 | -2/+4 |
| | | | | | llvm-svn: 96469 | ||||
| * | Raise the responsibility for passing -disable-llvm-verifier in NDEBUG builds | John McCall | 2010-02-13 | 1 | -0/+5 |
| | | | | | | | | to the driver, and support it in CodeGenOptsToArgs(). Note that this changes the default behavior of clang -cc1 to always run the verifier. llvm-svn: 96077 | ||||
| * | Driver: Fix clang -ccc-no-clang -x c++-header foo.h on Darwin. | Daniel Dunbar | 2010-02-11 | 1 | -1/+2 |
| | | | | | llvm-svn: 95876 | ||||
| * | Driver: Add -rewrite-objc, which is an interface to clang -cc1 -rewrite-objc. | Daniel Dunbar | 2010-02-11 | 2 | -3/+23 |
| | | | | | llvm-svn: 95849 | ||||
| * | Driver: Fix infinite loop and wrong message on invalid -ccc-clang-arch argument. | Daniel Dunbar | 2010-02-11 | 1 | -4/+2 |
| | | | | | llvm-svn: 95848 | ||||
| * | Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixes | Daniel Dunbar | 2010-02-10 | 3 | -0/+11 |
| | | | | | | | | calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787 | ||||
| * | Add support for threadsafe statics, and make them the default (matching gcc). | Anders Carlsson | 2010-02-06 | 1 | -0/+5 |
| | | | | | | | Daniel, I'd appreciate a review of the driver/cc1 parts. llvm-svn: 95508 | ||||
| * | Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'. | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 95348 | ||||
| * | Rename -cc1 option '-warn-objc-missing-dealloc' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | | | '-analyzer-check-objc-missing-dealloc'. llvm-svn: 95347 | ||||
| * | Rename -cc1 option '-warn-objc-methodsigs' to '-analyzer-check-objc-methodsigs'. | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 95346 | ||||
| * | Rename -cc1 option '-warn-objc-unused-ivars' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | | | '-analyzer-check-objc-unused-ivars'. llvm-svn: 95345 | ||||
| * | Rename -cc1 option '-warn-dead-stores' to '-analyzer-check-dead-stores'. | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 95343 | ||||
| * | Rename -cc1 option '-warn-security-syntactic' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 |
| | | | | | | | '-analyzer-check-security-syntactic'. llvm-svn: 95342 | ||||
| * | Driver: Add -[no-]integrated-as for clang. | Daniel Dunbar | 2010-02-03 | 3 | -14/+44 |
| | | | | | | | | | | | | | | | | | | | | | - Requires backend support, which only exists for i386--darwin currently. No 'as' required: -- ddunbar@ozzy:tmp$ cat t.c int main() { return 42; } ddunbar@ozzy:tmp$ clang -m32 -integrated-as t.c ddunbar@ozzy:tmp$ ./a.out; echo $? 42 ddunbar@ozzy:tmp$ -- The random extra whitespace is how you know its working! :) llvm-svn: 95194 | ||||
| * | Driver/Darwin: Don't error/warn on conflicting deployment targets. Apparently | Daniel Dunbar | 2010-02-02 | 1 | -5/+14 |
| | | | | | | | this is still a popular thing to do. llvm-svn: 95093 | ||||
| * | Driver/Darwin: Darwin uses -fobjc-legacy-dispatch on ARM. | Daniel Dunbar | 2010-02-01 | 2 | -1/+6 |
| | | | | | llvm-svn: 95006 | ||||
| * | Driver/Frontend: Add support for -fobjc-legacy-dispatch, not yet used. | Daniel Dunbar | 2010-02-01 | 1 | -1/+13 |
| | | | | | llvm-svn: 95004 | ||||
| * | Simplify. | Daniel Dunbar | 2010-01-30 | 1 | -2/+1 |
| | | | | | llvm-svn: 94929 | ||||
| * | Use StringRef instead of returning a temporary std::string. | Benjamin Kramer | 2010-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | | This fixes a really nasty bug in Darwin::getDarwinArchName where we were going StringRef -> temporary std::string -> StringRef (and return the dead StringRef). The StringRefs from Triple live as long as the Triple itself, that should be long enough. Hopefully 2 of 4 MSVC buildbot failures are gone now. llvm-svn: 94892 | ||||

