- Apr 18, 2009
-
-
Bill Wendling authored
llvm-svn: 69478
-
Chris Lattner authored
reasonably well except for the problem that @catches are nested within each other in the AST, giving the ugly diagnostics in L8. llvm-svn: 69477
-
Chris Lattner authored
statements don't end up in the LabelMap so we don't have a quick way to filter them. We could add state to Sema (a "has vla" and "has jump" bit) to try to filter this out, but that would be sort of gross and I'm not convinced it is the best way. Thoughts welcome. llvm-svn: 69476
-
Mikhail Glushenkov authored
Turns out that doing this by hand is easier than using autoreconf:-). llvm-svn: 69475
-
Mikhail Glushenkov authored
llvm-svn: 69474
-
Chris Lattner authored
llvm-svn: 69473
-
Chris Lattner authored
patch by Jakob Stoklund Olesen! llvm-svn: 69472
-
Anders Carlsson authored
llvm-svn: 69471
-
Daniel Dunbar authored
llvm-svn: 69470
-
Anders Carlsson authored
Make CodeGenFunction::EmitCallArgs a template function that takes a generic "Type Info" parameter. The type info parameter knows how to iterate over its arguments. llvm-svn: 69469
-
Anders Carlsson authored
llvm-svn: 69468
-
Duncan Sands authored
type as the vector element type: allow them to be of a wider integer type than the element type all the way through the system, and not just as far as LegalizeDAG. This should be safe because it used to be this way (the old type legalizer would produce such nodes), so backends should be able to handle it. In fact only targets which have legal vector types with an illegal promoted element type will ever see this (eg: <4 x i16> on ppc). This fixes a regression with the new type legalizer (vec_splat.ll). Also, treat SCALAR_TO_VECTOR the same as BUILD_VECTOR. After all, it is just a special case of BUILD_VECTOR. llvm-svn: 69467
-
Chris Lattner authored
llvm-svn: 69466
-
Chris Lattner authored
This fixes a crash on invalid (test10). rdar://6805469 llvm-svn: 69465
-
Chris Lattner authored
call ActOnBlockError so that CurBlock gets popped. This fixes a crash on test/block-syntax-error.c when this new assertion is enabled. llvm-svn: 69464
-
Chris Lattner authored
so that clients can't poke the function-local one when they really want the current block label. No functionality change. llvm-svn: 69463
-
Chris Lattner authored
specific bad case instead of on the switch. Putting it on the switch means you don't know what case is the problem. For example: scope-check.c:54:3: error: illegal switch case into protected scope case 2: ^ scope-check.c:53:9: note: jump bypasses initialization of variable length array int a[x]; ^ llvm-svn: 69462
-
Chris Lattner authored
llvm-svn: 69461
-
Chris Lattner authored
llvm-svn: 69460
-
Chris Lattner authored
to create a well formed AST instead of a dangling pointer. This resolves several fixme's. llvm-svn: 69459
-
Chris Lattner authored
int8_t and games it with strange *_defined macros. Emulate its weirdness for better compatibility with linux etc. Problem pointed out by anders johnson. llvm-svn: 69458
-
Chris Lattner authored
llvm-svn: 69457
-
Chris Lattner authored
llvm-svn: 69456
-
Chris Lattner authored
llvm-svn: 69455
-
Chris Lattner authored
as decimal, even if it starts with 0. Also, since things like 0x1 are completely illegal, don't even bother using numericliteralparser for them. llvm-svn: 69454
-
Nick Lewycky authored
Configure was not actually regenerated, but the change last time only touched this one line, so I'm being lazy and cheating by fixing it manually. llvm-svn: 69453
-
Dan Gohman authored
instead of allocating and leaking new SCEVCouldNotCompute objects. llvm-svn: 69452
-
Dan Gohman authored
llvm-svn: 69451
-
Dan Gohman authored
llvm-svn: 69450
-
Douglas Gregor authored
llvm-svn: 69449
-
Douglas Gregor authored
llvm-svn: 69448
-
Nick Lewycky authored
llvm-svn: 69447
-
Nick Lewycky authored
llvm-svn: 69446
-
Duncan Sands authored
building llvm. llvm-svn: 69441
-
Bill Wendling authored
release build of llvm. llvm-svn: 69440
-
Mikhail Glushenkov authored
llvm-svn: 69439
-
Mikhail Glushenkov authored
llvm-svn: 69438
-
Chris Lattner authored
produce better diagnostics, and be more correct in ObjC cases (fixing rdar://6803963). An example is that we now diagnose: int test1(int x) { goto L; int a[x]; int b[x]; L: return sizeof a; } with: scope-check.c:15:3: error: illegal goto into protected scope goto L; ^ scope-check.c:17:7: note: scope created by variable length array int b[x]; ^ scope-check.c:16:7: note: scope created by variable length array int a[x]; ^ instead of just saying "invalid jump". An ObjC example is: void test1() { goto L; @try { L: ; } @finally { } } t.m:6:3: error: illegal goto into protected scope goto L; ^ t.m:7:3: note: scope created by @try block @try { ^ There are a whole ton of fixme's for stuff to do, but I believe that this is a monotonic improvement over what we had. llvm-svn: 69437
-
Chris Lattner authored
llvm-svn: 69436
-
Daniel Dunbar authored
- <rdar://problem/6803995> llvm-svn: 69435
-