- Aug 10, 2008
-
-
Steve Naroff authored
InitListChecker::CheckListElementTypes(): Check for function types and issue an appropriate diagnostic. llvm-svn: 54614
-
Steve Naroff authored
Cleanup from yesterday...make isTentativeDefinition() a static helper function (no need for it to be part of the Sema API). llvm-svn: 54613
-
Steve Naroff authored
Sema::CheckForFileScopedRedefinitions(): Make sure tentative decls of incomplete array types are completed (and diagnosed properly). llvm-svn: 54612
-
Argyrios Kyrtzidis authored
Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking. 1) New public methods added: -EnableBacktrackAtThisPos -DisableBacktrack -Backtrack -isBacktrackEnabled 2) LookAhead() implementation is replaced with a more efficient one. 3) LookNext() is removed. llvm-svn: 54611
-
Daniel Dunbar authored
length element. Fix some 80-col violations. llvm-svn: 54610
-
Daniel Dunbar authored
getIntegerConstantExprValue. Tweak getIntegerConstantExprValue to suppress warning in Release-Asserts mode. llvm-svn: 54609
-
Daniel Dunbar authored
llvm-svn: 54608
-
Chris Lattner authored
llvm-svn: 54607
-
Chris Lattner authored
a bit more clear (rdar://5646070) llvm-svn: 54606
-
Chris Lattner authored
llvm-svn: 54605
-
Argyrios Kyrtzidis authored
llvm-svn: 54604
-
Chris Lattner authored
llvm-svn: 54603
-
Chris Lattner authored
llvm-svn: 54602
-
Eli Friedman authored
member count. The count returned by numStructUnionElements is the number of initializers that will be consumed, not the number of members to iterate through. Fixes PR2534. llvm-svn: 54601
-
Eli Friedman authored
llvm-svn: 54600
-
Nico Weber authored
llvm-svn: 54599
-
Eli Friedman authored
now fixed in an alternate way. llvm-svn: 54598
-
Eli Friedman authored
anywhere near complete, but I don't know of any issues, and it can handle enough to allow removing the I-C-E pointer cast hack. llvm-svn: 54597
-
Nico Weber authored
llvm-svn: 54596
-
Argyrios Kyrtzidis authored
llvm-svn: 54595
-
Nico Weber authored
llvm-svn: 54594
-
Argyrios Kyrtzidis authored
llvm-svn: 54593
-
- Aug 09, 2008
-
-
Chris Lattner authored
an invalid struct decl. Thanks to Martin Doucha for the isIncompleteArrayType part of this patch. llvm-svn: 54592
-
Gordon Henriksen authored
(Fixing a spelling error.) llvm-svn: 54591
-
Nico Weber authored
llvm-svn: 54590
-
Chris Lattner authored
type lattice value for an Argument*, giving clients the opportunity to use something other than Top for it if they choose to." Patch by John McCall! llvm-svn: 54589
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 54588
-
Argyrios Kyrtzidis authored
llvm-svn: 54587
-
Argyrios Kyrtzidis authored
llvm-svn: 54585
-
Steve Naroff authored
Fix Sema::MergeVarDecl() to better handle type compatibility. The previous code was trying to handle arrays specially (which didn't work for pointers to array). Removed local helper function areEquivalentArrayTypes(), replacing it's use with the more general ASTContext::typesAreCompatible() predicate. Even though the test case this fixes is in "tentative-decls.c", this bug didn't have anything to do with our handling of tentative definitions (which is what I first expected). In any event, this is a tricky area of the spec. llvm-svn: 54583
-
Duncan Sands authored
IRBuilder are not expecting null names. llvm-svn: 54581
-
Cedric Venet authored
llvm-svn: 54580
-
Chris Lattner authored
LoadInst ctor, which causes std::string thrashing. llvm-svn: 54577
-
Chris Lattner authored
llvm-svn: 54576
-
Gordon Henriksen authored
llvm-svn: 54574
-
Gordon Henriksen authored
Please use !LLVMIsDeclaration instead. llvm-svn: 54572
-
Gordon Henriksen authored
llvm-svn: 54571
-
Gordon Henriksen authored
llvm-svn: 54570
-
Argyrios Kyrtzidis authored
at which point the C++ struct/class/union is fully parsed. llvm-svn: 54569
-
Ted Kremenek authored
llvm-svn: 54568
-