- Jul 26, 2007
-
-
Christopher Lamb authored
llvm-svn: 40514
-
Christopher Lamb authored
llvm-svn: 40513
-
Chris Lattner authored
llvm-svn: 40512
-
Chris Lattner authored
llvm-svn: 40511
-
Christopher Lamb authored
Fix infinite recursion for when extract_vector_elt is legal. Unfortunately no public targets use this code-path, so no test. llvm-svn: 40510
-
Steve Naroff authored
llvm-svn: 40509
-
Steve Naroff authored
Various improvements to Sema::ParseMemberReferenceExpr(). - Added source range support to Diag's. - Used the new type predicate API to remove dealing with the canonical type explicitly. - Added Type::isRecordType(). - Removed some casts. - Removed a const qualifier from RecordType::getDecl(). llvm-svn: 40508
-
Christopher Lamb authored
llvm-svn: 40507
-
Christopher Lamb authored
llvm-svn: 40506
-
Dan Gohman authored
x86 target, replacing them with the new alignment attributes on memory references. llvm-svn: 40504
-
Owen Anderson authored
llvm-svn: 40503
-
Evan Cheng authored
llvm-svn: 40502
-
Evan Cheng authored
llvm-svn: 40501
-
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
-