- Apr 16, 2009
-
-
Douglas Gregor authored
llvm-svn: 69230
-
- Apr 15, 2009
-
-
Fariborz Jahanian authored
__string/__weak attributes. llvm-svn: 69229
-
Devang Patel authored
llvm-svn: 69228
-
Anders Carlsson authored
struct X { X(int, int); }; X x(10, 10); we model that as X x = X(10, 10); inserting a temporary object expr. llvm-svn: 69227
-
Daniel Dunbar authored
- Also, fixed one to actually be one (instead of zero). :) llvm-svn: 69226
-
Douglas Gregor authored
llvm-svn: 69225
-
Anders Carlsson authored
llvm-svn: 69222
-
Daniel Dunbar authored
- This was particularly bad since I fixed one instance of this name and not another, meaning we got an LLVM module with the same effective name in two different globals! llvm-svn: 69205
-
rdar://problem/6786597Steve Naroff authored
Teach Sema::SemaBuiltinVAStart() about blocks. llvm-svn: 69201
-
Fariborz Jahanian authored
gen. issue for property in continuation class declared readwrite but which did not generate the declaration for the setter. Fix also removed a FIXME and resulted in code cleanup. llvm-svn: 69200
-
Daniel Dunbar authored
llvm-svn: 69199
-
Daniel Dunbar authored
llvm-svn: 69198
-
Chris Lattner authored
spectacularly when built for x86-64. llvm-svn: 69197
-
Douglas Gregor authored
Some minor cleanup. llvm-svn: 69196
-
Douglas Gregor authored
token length in the PCH file rather than trying (and failing) to reconstruct it be getting the spelling token's length. llvm-svn: 69191
-
Douglas Gregor authored
llvm-svn: 69186
-
-
Chris Lattner authored
llvm-svn: 69179
-
Steve Naroff authored
llvm-svn: 69178
-
Chris Lattner authored
implicit from its parenting. Now that diag mapping is explicit, eliminate the fatal and extwarn classes. llvm-svn: 69177
-
Chris Lattner authored
be tied to the diag class. This requires an LLVM tree update. llvm-svn: 69175
-
Douglas Gregor authored
llvm-svn: 69172
-
Daniel Dunbar authored
llvm-svn: 69171
-
Fariborz Jahanian authored
llvm-svn: 69170
-
Douglas Gregor authored
llvm-svn: 69169
-
Anders Carlsson authored
llvm-svn: 69168
-
rdar://problem/6789707Steve Naroff authored
Fix <rdar://problem/6789707> "warning: 'extern' variable has an initializer" not correct for __private_extern__. llvm-svn: 69167
-
rdar://problem/6791490Steve Naroff authored
caused by: <rdar://problem/6252084> [sema] jumps into Obj-C exception blocks should be disallowed. Sema::RecursiveCalcLabelScopes() and Sema::RecursiveCalcJumpScopes() need to pop the ScopeStack within the statement iteration loop (was outside the loop). Eli, please review (thanks). llvm-svn: 69165
-
Chris Lattner authored
with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or -Werror=foo all override the -pedantic options, and __extension__ robustly silences all extension diagnostics in their scope. An added bonus of this change is that MAP_DEFAULT goes away, meaning that per-diagnostic mapping information can now be stored in 2 bits, doubling the density of the Diagnostic::DiagMapping array. This also substantially simplifies Diagnostic::getDiagnosticLevel. OTOH, this temporarily introduces some "macro intensive" code in Diagnostic.cpp. This will be addressed in a later patch. llvm-svn: 69154
-
Douglas Gregor authored
anonymous structs or unions. Fixes PR3778. llvm-svn: 69153
-
Anders Carlsson authored
llvm-svn: 69150
-
Douglas Gregor authored
to using designator indices. No functionality change. llvm-svn: 69147
-
Douglas Gregor authored
Don't tip-to around BitstreamReader::JumpToBit jumping to the end of the stream. LLVM has been updated to allow this llvm-svn: 69146
-
Anders Carlsson authored
llvm-svn: 69137
-
Anders Carlsson authored
llvm-svn: 69134
-
Daniel Dunbar authored
- Set alignment on property lists. - 32-bit: o Set section on property lists. o Fix section name for category class methods. o Fix symbol name for property lists. o Fix section name for class method. o Set alignment and section on class extension structure. o Set alignment on a number of things: instance variables, methods, method descriptions, the symbols structure. - 64-bit: o Fix section flags for protocol list. I doubt most of these were problems in practice, but it is nice to match llvm-gcc. llvm-svn: 69132
-
Daniel Dunbar authored
-funsigned-bitfields for now (clang defaults to -fsigned-bitfields). - <rdar://problem/6790309> ER: Support -fsigned-bitfields/-funsigned-bitfields llvm-svn: 69131
-
Douglas Gregor authored
llvm-svn: 69119
-
Daniel Dunbar authored
- Strip off extra parens when looking for casts. - Change the location info to point at the cast (instead of the assignment). For example, on int *b; #define a ((void*) b) void f0() { a = 10; } we now emit: /tmp/t.c:4:3: error: assignment to cast is illegal, lvalue casts are not supported a = 10; ^ ~ /tmp/t.c:2:12: note: instantiated from: #define a ((void*) b) ~^~~~~~~~~~ instead of: /tmp/t.c:4:5: error: expression is not assignable a = 10; ~ ^ llvm-svn: 69114
-
Douglas Gregor authored
llvm-svn: 69106
-