- Dec 15, 2009
-
-
Anders Carlsson authored
If a ParmVarDecl's default argument is a CXXExprWithTemporaries, return the underlying expr instead. Add getNumDefaultArgTemporaries and getDefaultArgTemporary which returns the temporaries a default arg creates. llvm-svn: 91439
-
Chris Lattner authored
llvm-svn: 91438
-
Nate Begeman authored
For hi/odd of an odd-length vector, the last component is undefined. Since we shuffle with an undef vector, no CodeGen needs to change to support this. llvm-svn: 91437
-
Mike Stump authored
Patch by Chip Davis. llvm-svn: 91436
-
Fariborz Jahanian authored
and some clean up and a block rewriter test. llvm-svn: 91435
-
Johnny Chen authored
llvm-svn: 91434
-
Douglas Gregor authored
llvm-svn: 91433
-
Dan Gohman authored
llvm-svn: 91432
-
Douglas Gregor authored
llvm-svn: 91431
-
Zhongxing Xu authored
llvm-svn: 91430
-
Zhongxing Xu authored
llvm-svn: 91429
-
Chris Lattner authored
llvm-svn: 91428
-
Chris Lattner authored
1. Use std::equal instead of reinventing it. 2. don't run dtors in destroy_range if element is pod-like. 3. Use isPodLike to decide between memcpy/uninitialized_copy instead of is_class. isPodLike is more generous in some cases. llvm-svn: 91427
-
Chris Lattner authored
up into the non-templated SmallVectorBase class. llvm-svn: 91426
-
Chris Lattner authored
llvm-svn: 91425
-
Chris Lattner authored
want some clients of QualType to think it's a pod and some to not know it is. llvm-svn: 91424
-
Chris Lattner authored
llvm-svn: 91423
-
Chris Lattner authored
Remove isPod() from DenseMapInfo, splitting it out to its own isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. llvm-svn: 91422
-
Chris Lattner authored
isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. llvm-svn: 91421
-
Mikhail Glushenkov authored
llvm-svn: 91420
-
Mikhail Glushenkov authored
llvm-svn: 91419
-
Evan Cheng authored
llvm-svn: 91417
-
Chris Lattner authored
llvm-svn: 91416
-
Daniel Dunbar authored
llvm-svn: 91415
-
Daniel Dunbar authored
llvm-svn: 91414
-
Daniel Dunbar authored
note_previous_decl was used where note_previous_declaration was intended. Better names or PR5785 might be nice. llvm-svn: 91413
-
Ted Kremenek authored
Until we can make the dead stores checker smarter, dont' emit dead store warnings for C++ objects (whose constructors/destructors have possible side-effects). llvm-svn: 91412
-
Eli Friedman authored
llvm-svn: 91411
-
Kenneth Uildriks authored
llvm-svn: 91410
-
Eli Friedman authored
llvm-svn: 91409
-
Mike Stump authored
attribute to function pointers. It also fixes Sema to check function pointers for the noreturn attribute when checking for fallthrough. Patch by Chip Davis, with a slight fix to pass the testsuite. llvm-svn: 91408
-
John McCall authored
llvm-svn: 91407
-
Evan Cheng authored
llvm-svn: 91405
-
Mikhail Glushenkov authored
Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional llvm-svn: 91404
-
Mikhail Glushenkov authored
llvm-svn: 91403
-
Mikhail Glushenkov authored
llvm-svn: 91402
-
Mikhail Glushenkov authored
llvm-svn: 91401
-
Evan Cheng authored
1. Only perform (zext (shl (zext x), y)) -> (shl (zext x), y) when y is a constant. This makes sure it remove at least one zest. 2. If the shift is a left shift, make sure the original shift cannot shift out bits. llvm-svn: 91399
-
Ted Kremenek authored
llvm-svn: 91398
-
John McCall authored
clang enforces it. llvm-svn: 91397
-