- Aug 28, 2007
-
-
Dan Gohman authored
scheduling. llvm-svn: 41556
-
Steve Naroff authored
Finish converting decls over to the new invalid decl API. Also removed an old FIXME (FIXME: "auto func();" passes through...). llvm-svn: 41555
-
Ted Kremenek authored
This involves the construction of a specialized "dispatch" block that all basic blocks containing indirect gotos unconditionally transfer control-flow to. The successors of the dispatch block has as its successors all of the blocks containing labels whose address was taken somewhere in the function. llvm-svn: 41554
-
Chuck Rose III authored
llvm-svn: 41553
-
Steve Naroff authored
Move the "invalid decl" idiom up to Decl (where we have some bits to steal:-) Converted ParmVarDecl, FileVarDecl, BlockVarDecl, and Sema::ParseIdentifierExpr() to use the idiom. Updated array-constraint.c to make sure we no longer get "undeclared identifier" errors:-) llvm-svn: 41552
-
Chris Lattner authored
t2.c:3:18: warning: expression result unused x = ++x, ++y, y+2; ~~~~~~~~~~~~^ ~~~ llvm-svn: 41551
-
Chris Lattner authored
llvm-svn: 41550
-
Ted Kremenek authored
llvm-svn: 41549
-
Chris Lattner authored
directly in it. Remove TargetInfo::getEnumPolicy, as there is only one policy that we support right now. llvm-svn: 41548
-
Ted Kremenek authored
arbitrarily complex control-flow in their subexpressions. llvm-svn: 41547
-
Ted Kremenek authored
variables that have a pointer type, or arrays that contain pointers. This fixes a crash on the following code: int *h[3]; int **foo(int i) { return &(h[i]); } This bug was reported by Keith Bauer (thanks!). llvm-svn: 41546
-
Chris Lattner authored
llvm-svn: 41545
-
Chris Lattner authored
llvm-svn: 41544
-
Chris Lattner authored
llvm-svn: 41543
-
Steve Naroff authored
llvm-svn: 41542
-
Chris Lattner authored
llvm-svn: 41541
-
Ted Kremenek authored
llvm-svn: 41540
-
Evan Cheng authored
1. Eliminate the costly live interval "swapping". 2. Change ValueNumberInfo container from SmallVector to std::vector. The former performs slowly when the vector size is very large. llvm-svn: 41536
-
Chris Lattner authored
llvm-svn: 41533
-
Chris Lattner authored
TODO: update the types of the constants and the enum. llvm-svn: 41532
-
Chris Lattner authored
llvm-svn: 41531
-
Chris Lattner authored
t.c:1:12: warning: ISO C restricts enumerator values to range of 'int' (180388626432 is too large) enum e {A, B = 42LL << 32, C = -4, D = 12456 }; ^ llvm-svn: 41530
-
Bruno Cardoso Lopes authored
Changed the stack frame layout, StackGrowsUp fits better to Mips strange stack. Stack offset calculation bug fixed! llvm-svn: 41529
-
Chris Lattner authored
llvm-svn: 41528
-
Bruno Cardoso Lopes authored
Added comments about new stack allocation. Expand SelectCC for i32 results llvm-svn: 41527
-
Bruno Cardoso Lopes authored
Comments for Mips directives added. llvm-svn: 41526
-
Bruno Cardoso Lopes authored
llvm-svn: 41525
-
Chris Lattner authored
Note the FIXME: we need some way to mark a decl erroneous :) llvm-svn: 41524
-
Chris Lattner authored
implicit cast gets linked back into the AST. llvm-svn: 41523
-
Chris Lattner authored
llvm-svn: 41522
-
Steve Naroff authored
Implement more thoughful error recovery when dealing with bogus declarator types. For example, the following code was resulting in spurious warnings. This was the result of Sema::GetTypeForDeclarator() synthesizing a type to hand back to the caller (in this case, "int []", instead of "struct s[]", which is invalid). struct s; struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}} return z; } Strategy: Flag the error in Declarator/DeclaratorChunk. This info is later stored in the ParmVarDecl. If the decl is referenced, Sema::ParseIdentifierExpr() will check if the type is invalid. If so, it quietly returns "true", without instantiating a DeclRefExpr. This seems to work nicely. If Chris is happy with the approach, I will generalize this to all VarDecls. llvm-svn: 41521
-
- Aug 27, 2007
-
-
Ted Kremenek authored
llvm-svn: 41520
-
Steve Naroff authored
llvm-svn: 41517
-
Devang Patel authored
llvm-svn: 41516
-
Steve Naroff authored
llvm-svn: 41515
-
Ted Kremenek authored
llvm-svn: 41514
-
Chris Lattner authored
llvm-svn: 41513
-
Ted Kremenek authored
based on an offset within SubExprs. llvm-svn: 41512
-
Ted Kremenek authored
would be invalid when RetValExp == NULL. llvm-svn: 41511
-
Dan Gohman authored
llvm-svn: 41510
-