- Jul 26, 2007
-
-
Evan Cheng authored
llvm-svn: 40500
-
Evan Cheng authored
llvm-svn: 40499
-
Owen Anderson authored
llvm-svn: 40498
-
Owen Anderson authored
llvm-svn: 40497
-
- Jul 25, 2007
-
-
Owen Anderson authored
llvm-svn: 40496
-
Owen Anderson authored
llvm-svn: 40495
-
Owen Anderson authored
llvm-svn: 40494
-
Devang Patel authored
llvm-svn: 40493
-
Steve Naroff authored
- Add comment and minor cleanup to yesterday's fix to ParseCallExpr(). llvm-svn: 40492
-
Owen Anderson authored
Note: This has not yet been thoroughly tested. Use at your own risk. llvm-svn: 40489
-
Chandler Carruth authored
llvm-svn: 40488
-
Dan Gohman authored
AsmPrinter::doFinalization. llvm-svn: 40487
-
Devang Patel authored
This interface allows clients to inline bunch of functions with module level call graph information.:wq llvm-svn: 40486
-
Chris Lattner authored
llvm-svn: 40484
-
Nick Lewycky authored
llvm-svn: 40483
-
Chris Lattner authored
1. Fix a todo in Parser::ParseTag, to recover better. On code like that in test/Sema/decl-invalid.c it causes us to return a single error instead of multiple. 2. Fix an error in Sema::ParseDeclarator, where it would crash if the declarator didn't have an identifier. Instead, diagnose the problem. 3. Start adding infrastructure to track the range of locations covered by a declspec or declarator. This is mostly implemented for declspec, but could be improved, it is missing for declarator. Thanks to Neil for pointing out this crash. llvm-svn: 40482
-
Anton Korobeynikov authored
- Split EH and debug infiormation - Make DwarfWriter more verbose in some cases llvm-svn: 40481
-
Dan Gohman authored
llvm-svn: 40480
-
Dan Gohman authored
llvm-svn: 40479
-
Dan Gohman authored
register instead of loading each element individually. llvm-svn: 40478
-
- Jul 24, 2007
-
-
Owen Anderson authored
NOTE: This has only been cursorily tested. Expected improvements soon. llvm-svn: 40476
-
Steve Naroff authored
Fix Sema::ParseCallExpr()...it wasn't doing the default array/function promotions on it's argument types. This resulted in the following errors when compiling promote_types_in_proto.c test... [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang test/Parser/promote_types_in_proto.c test/Parser/promote_types_in_proto.c:7:24: error: incompatible types passing 'char *[]' to function expecting 'char *const []' arrayPromotion(argv); ~~~~~~~~~~~~~~ ^~~~ test/Parser/promote_types_in_proto.c:8:27: error: incompatible types passing 'void (char *const [])' to function expecting 'void (char *const [])' functionPromotion(arrayPromotion); ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ 2 diagnostics generated. When fixing this, noticed that both ParseCallExpr() and ParseReturnStmt() were prematurely comparing types for equivalence. This is incorrect (since the expr. promotions haven't been done yet). To fix this, I moved the check "down" to Sema::CheckAssignmentConstraints(). I also converted Type::isArrayType() to the modern API (since I needed it). Still more Type predicates to convert. llvm-svn: 40475
-
Owen Anderson authored
llvm-svn: 40474
-
Anton Korobeynikov authored
Pretty hackish, but code itself is dirty mess, so we won't make anything worse. :) llvm-svn: 40472
-
Chris Lattner authored
llvm-svn: 40471
-
Chris Lattner authored
llvm-svn: 40470
-
Owen Anderson authored
load elimination code from RedundantLoadElimination. llvm-svn: 40469
-
Chris Lattner authored
llvm-svn: 40466
-
Chris Lattner authored
This implements test/Sema/stmt_exprs.c llvm-svn: 40465
-
Reid Spencer authored
llvm-svn: 40464
-
Chris Lattner authored
llvm-svn: 40462
-
Chris Lattner authored
This speeds up -E on xalancbmk by 2.4% llvm-svn: 40461
-
Chris Lattner authored
llvm-svn: 40460
-
Chris Lattner authored
bottleneck for -E computation, because every token that starts a line needs to determine *which* line it is on (so -E mode can insert the appropriate vertical whitespace). This optimization improves this common case where it is striding through the line # table. This speeds up -E on xalancbmk by 3.2% llvm-svn: 40459
-
Devang Patel authored
llvm-svn: 40458
-
Owen Anderson authored
llvm-svn: 40457
-
Owen Anderson authored
llvm-svn: 40456
-
Reid Spencer authored
2. Fold an if statement into the Assert1 macro call. llvm-svn: 40455
-
Chris Lattner authored
by Neil Booth. This fixes Preprocessor/output_paste_avoid.c llvm-svn: 40454
-
Reid Spencer authored
to use sret or inreg on the function. It is equally illegal to use noreturn or nounwind on a parameter; they only go with the function. This patch enforces these rules. llvm-svn: 40453
-