- May 23, 2010
-
-
Douglas Gregor authored
type. Fixes PR7051. llvm-svn: 104475
-
Douglas Gregor authored
llvm-svn: 104474
-
Benjamin Kramer authored
llvm-svn: 104473
-
Benjamin Kramer authored
This works around a crash where malloc reused the memory of an erased BB for a new BB leaving old cleanup information pointing at the new block. llvm-svn: 104472
-
Douglas Gregor authored
VLA restrictions so that one can use VLAs in templates (even accidentally), but not as part of a non-type template parameter (which would be very bad). llvm-svn: 104471
-
Douglas Gregor authored
llvm-svn: 104470
-
Douglas Gregor authored
storage, rather than an UnresolvedSet. llvm-svn: 104469
-
Douglas Gregor authored
UnresolvedMemberExpr in their constructors, rather than adding them after the fact. No functionality change. llvm-svn: 104468
-
Daniel Dunbar authored
llvm-mc: Use EmitIntValue where possible, which makes the API calls from the AsmParser and CodeGen line up better. llvm-svn: 104467
-
Daniel Dunbar authored
llvm-mc: Use AddBlankLine in asm parser. This makes transliteration match the input much more closely, and also makes the API calls from the AsmParser and CodeGen line up better. llvm-svn: 104466
-
Douglas Gregor authored
pointers in the ASTContext, so that the folding sets stored inside them will be deallocated when the ASTContext is destroyed (under -disable-free). <rdar://problem/7998824>. llvm-svn: 104465
-
Anders Carlsson authored
llvm-svn: 104464
-
Daniel Dunbar authored
llvm-svn: 104463
-
Douglas Gregor authored
so that it can be selectively enabled/disabled. llvm-svn: 104462
-
Douglas Gregor authored
canonical type where the element type is canonical. Fixes PR7206. llvm-svn: 104461
-
Bob Wilson authored
llvm-svn: 104455
-
John McCall authored
expressions. Essentially, GC breaks a certain form of the return-value optimization. llvm-svn: 104454
-
- May 22, 2010
-
-
Daniel Dunbar authored
MC/X86: Subdivide immediates a bit more, so that we properly recognize immediates based on the width of the target instruction. For example: addw $0xFFFF, %ax should match the same as addw $-1, %ax but we used to match it to the longer encoding. llvm-svn: 104453
-
Daniel Dunbar authored
llvm-svn: 104452
-
Anders Carlsson authored
llvm-svn: 104447
-
Anders Carlsson authored
llvm-svn: 104446
-
Douglas Gregor authored
llvm-svn: 104445
-
Douglas Gregor authored
enum contexts (along with block contexts, which we already did). Fixes PR7196. llvm-svn: 104444
-
Douglas Gregor authored
in several important ways: - VLAs of non-POD types are not permitted. - VLAs cannot be used in conjunction with C++ templates. These restrictions are intended to keep VLAs out of the parts of the C++ type system where they cause the most trouble. Fixes PR5678 and <rdar://problem/8013618>. llvm-svn: 104443
-
Chris Lattner authored
llvm-svn: 104436
-
Daniel Dunbar authored
llvm-svn: 104435
-
Douglas Gregor authored
temporaries. There are actually several interrelated fixes here: - When converting an object to a base class, it's only an lvalue cast when the original object was an lvalue and we aren't casting pointer-to-derived to pointer-to-base. Previously, we were misclassifying derived-to-base casts of class rvalues as lvalues, causing various oddities (including problems with reference binding not extending the lifetimes of some temporaries). - Teach the code for emitting a reference binding how to look through no-op casts and parentheses directly, since Expr::IgnoreParenNoOpCasts is just plain wrong for this. Also, make sure that we properly look through multiple levels of indirection from the temporary object, but destroy the actual temporary object; this fixes the reference-binding issue mentioned above. - Teach Objective-C message sends to bind the result as a temporary when needed. This is actually John's change, but it triggered the reference-binding problem above, so it's included here. Now John can actually test his return-slot improvements. llvm-svn: 104434
-
John Mosby authored
llvm-svn: 104433
-
Daniel Dunbar authored
llvm-svn: 104432
-
Chandler Carruth authored
'-fasm' and explicitly map from that flag to -fgnu-keywords in the driver. Turn off the driver in the lexer test for this madness and add a test to the driver that the translation actually works. llvm-svn: 104428
-
John McCall authored
critical for ObjC++ correctness; hard to test independently of various required Sema changes, though. llvm-svn: 104422
-
-
Jim Grosbach authored
Followups: docs patch for the builtin and eh.sjlj.setjmp cleanup to match longjmp. llvm-svn: 104419
-
Eric Christopher authored
llvm-svn: 104418
-
Daniel Dunbar authored
short name of the tool in use, instead of the name of the action that created the command. The practical impact is we now get: clang: error: clang frontend command failed due to signal 6 (use -v to see invocation) instead of: clang: error: assembler command failed due to signal 6 (use -v to see invocation) when clang crashes on a job that uses the integrated assembler. llvm-svn: 104417
-
Daniel Dunbar authored
llvm-svn: 104416
-
Bob Wilson authored
copying VFP subregs. This exposed a bunch of dead code in the *spill-q.ll tests, so I tweaked those tests to keep that code from being optimized away. Radar 7872877. llvm-svn: 104415
-
Eric Christopher authored
llvm-svn: 104414
-
Ted Kremenek authored
llvm-svn: 104413
-
Devang Patel authored
llvm-svn: 104412
-