- Apr 26, 2009
-
-
Eli Friedman authored
llvm-svn: 70144
-
Steve Naroff authored
llvm-svn: 70143
-
Chris Lattner authored
Before we emitted: $ clang t.c -S -m64 llvm: error: Unsupported asm: input constraint with a matching output constraint of incompatible type! Now we produce: $ clang t.c -S -m64 t.c:5:40: error: unsupported inline asm: input with type 'unsigned long' matching output with type 'int' asm volatile("foo " : "=a" (a) :"0" (b)); ~~~ ~^~ llvm-svn: 70142
-
Bill Wendling authored
llvm-svn: 70138
-
Chris Lattner authored
llvm-svn: 70137
-
Chris Lattner authored
llvm-svn: 70136
-
Chris Lattner authored
instead of passing it around in addition to it. llvm-svn: 70135
-
Sanjiv Gupta authored
Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct. llvm-svn: 70134
-
Steve Naroff authored
This fixes all the -emit-pch problems discovered by utils/pch-test.pl. llvm-svn: 70125
-
Sebastian Redl authored
llvm-svn: 70122
-
Sebastian Redl authored
llvm-svn: 70121
-
Torok Edwin authored
llvm-svn: 70115
-
Chris Lattner authored
the enum along with some other data. llvm-svn: 70114
-
Douglas Gregor authored
llvm-svn: 70113
-
Douglas Gregor authored
llvm-svn: 70112
-
Douglas Gregor authored
Make sure to pull in the target builtin records when initialize the AST context, even if we're not going to initialize the __builin_* identifiers llvm-svn: 70111
-
Douglas Gregor authored
dump their contents for all of the compilable tests in Clang's testsuite. All of the tests pass for C, but there are still many failures for Objective-C. llvm-svn: 70110
-
Douglas Gregor authored
necessary and iterate until all types and declarations have been written. This reduces the Cocoa.h PCH file size by about 4% (since we don't write types we don't need), and fixes problems where writing a declaration generates a new type. This doesn't seem to have any impact on performance either way. llvm-svn: 70109
-
Douglas Gregor authored
declaration rather than printing through the HandleTopLevelDecl action. Using this, one can deserialize an entire PCH file and dump it. llvm-svn: 70108
-
Chris Lattner authored
llvm-svn: 70107
-
Douglas Gregor authored
llvm-svn: 70106
-
Chris Lattner authored
llvm-svn: 70105
-
Eli Friedman authored
cleanup attribute checking. The difference isn't normally visible, but it can make a difference... llvm-svn: 70104
-
Daniel Dunbar authored
llvm-svn: 70103
-
Daniel Dunbar authored
- This can be used to supply a default value for -std=; the idea is that this can be used in conjunction with CCC_ADD_ARGS or QA_OVERRIDE_GCC3_OPTIONS to change the default without having to modify the build system. llvm-svn: 70102
-
Daniel Dunbar authored
should be joined or separate. llvm-svn: 70101
-
Chris Lattner authored
the missing bits of ObjCMessageExpr. llvm-svn: 70100
-
Douglas Gregor authored
Another shot at switching PCH on by default, now that we've cleaned up some bugs and improved performance. Will be reverted after Mr. Speedy gets done with it llvm-svn: 70099
-
Anders Carlsson authored
When calling the cleanup function specified by __attribute__((cleanup)), make sure to bitcast the argument so it has the same type as the first argument of the cleanup function. Fixes <rdar://problem/6827047>. llvm-svn: 70098
-
Douglas Gregor authored
most of which are ignored. Instead, move the __COUNTER__ value out to a PCH-level record (since it is handled eagerly) and move the header file information into the SourceManager block (which is also, currently, loaded eagerly). This results in another 17% performance improvement in the Cocoa-prefixed "Hello, World" with PCH. llvm-svn: 70097
-
Eli Friedman authored
I wasn't originally going to use this approach, but cases like test/Sema/expr-comma.c make things difficult. llvm-svn: 70096
-
Chris Lattner authored
llvm-svn: 70095
-
Douglas Gregor authored
PCH file. In the Cocoa-prefixed "Hello, World" benchmark, this takes us from reading 503 identifiers down to 37 and from 470 macros down to 4. It also results in an 8% performance improvement. llvm-svn: 70094
-
Chris Lattner authored
"This fixes message sends to super in a way that both works with real code and passes the test in the test suite. It also fixes a crash when using recent versions of GNU libobjc and compiling modules that do not contain any constant strings but do contain a declaration of the constant string class and possible some other corner cases (thanks to Pete French for providing me with a test case for that one)." Patch by David Chisnall! llvm-svn: 70093
-
Chris Lattner authored
llvm-svn: 70092
-
Eli Friedman authored
llvm-svn: 70091
-
Eli Friedman authored
any issues now that we have our own tgmath.h. llvm-svn: 70090
-
Eli Friedman authored
Overall, I'm not particularly happy with the current situation regarding constant expression diagnostics, but I plan to improve it at some point. llvm-svn: 70089
-
Chris Lattner authored
Josef Eisl! llvm-svn: 70087
-
Eli Friedman authored
llvm-svn: 70086
-