- Dec 15, 2010
-
-
John McCall authored
within the class. Teach IR gen to look for function definitions in record lexical contexts when deciding whether to emit a function whose address was taken. Fixes PR8789. llvm-svn: 121833
-
- Dec 14, 2010
-
-
John McCall authored
llvm-svn: 121763
-
John McCall authored
llvm-svn: 121759
-
John McCall authored
class to be passed around. The line between argument and return types and everything else is kindof vague, but I think it's justifiable. llvm-svn: 121752
-
Dan Gohman authored
llvm-svn: 121734
-
- Dec 11, 2010
-
-
Bob Wilson authored
llvm-svn: 121595
-
- Dec 10, 2010
-
-
Bob Wilson authored
The 64-bit element vectors need to be handled as a special case. llvm-svn: 121592
-
Abramo Bagnara authored
llvm-svn: 121488
-
John McCall authored
space better. Remove this reference. To make that work, change some APIs (most importantly, getDesugaredType()) to take an ASTContext& if they need to return a QualType. Simultaneously, diminish the need to return a QualType by introducing some useful APIs on SplitQualType, which is just a std::pair<const Type *, Qualifiers>. llvm-svn: 121478
-
Bob Wilson authored
llvm-svn: 121468
-
Bob Wilson authored
Clang was only specifying the overloaded result type. PR8483. llvm-svn: 121464
-
Bob Wilson authored
llvm-svn: 121447
-
Argyrios Kyrtzidis authored
llvm-svn: 121436
-
- Dec 09, 2010
-
-
Devang Patel authored
llvm-svn: 121333
-
Devang Patel authored
llvm-svn: 121326
-
- Dec 08, 2010
-
-
Devang Patel authored
llvm-svn: 121302
-
Bob Wilson authored
Remove the "splat" parameter from the EmitNeonCall function, since it is no longer needed. llvm-svn: 121300
-
Francois Pichet authored
llvm-svn: 121298
-
Bob Wilson authored
llvm-svn: 121288
-
Bob Wilson authored
llvm-svn: 121277
-
Chandler Carruth authored
llvm-svn: 121221
-
Bob Wilson authored
llvm-svn: 121214
-
Bob Wilson authored
llvm-svn: 121210
-
- Dec 07, 2010
-
-
Bob Wilson authored
llvm-svn: 121191
-
Bob Wilson authored
llvm-svn: 121189
-
Bob Wilson authored
llvm-svn: 121188
-
Jay Foad authored
zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121121
-
Francois Pichet authored
New AST node introduced: BinaryTypeTraitExpr; to be reused for more intrinsics. llvm-svn: 121074
-
- Dec 06, 2010
-
-
John McCall authored
reason this is limited to C++, and it's certainly not limited to temporaries. llvm-svn: 120996
-
John McCall authored
the LHS, or else the pointer might be invalid. This is kindof dumb, but go ahead and make sure we're doing that for l-value scalar assignment, which fixes a miscompile of obj-c++.dg/block-seq.mm. Leave a FIXME for how to solve this problem for agg __blocks. llvm-svn: 120992
-
- Dec 05, 2010
-
-
John McCall authored
Fix a bug in the emission of complex compound assignment l-values. Introduce a method to emit an expression whose value isn't relevant. Make that method evaluate its operand as an l-value if it is one. Fixes our volatile compliance in C++. llvm-svn: 120931
-
Anders Carlsson authored
llvm-svn: 120924
-
Anders Carlsson authored
llvm-svn: 120922
-
- Dec 04, 2010
-
-
John McCall authored
llvm-svn: 120905
-
Francois Pichet authored
More anonymous struct/union redesign. This one deals with anonymous field used in a constructor initializer list: struct X { X() : au_i1(123) {} union { int au_i1; float au_f1; }; }; clang will now deal with au_i1 explicitly as an IndirectFieldDecl. llvm-svn: 120900
-
John McCall authored
be required, and then fix up some missing loads on overloaded-operator paths which that exposed. llvm-svn: 120896
-
John McCall authored
not actually frequently used, because ImpCastExprToType only creates a node if the types differ. So explicitly create an ICE in the lvalue-to-rvalue conversion code in DefaultFunctionArrayLvalueConversion() as well as several other new places, and consistently deal with the consequences throughout the compiler. In addition, introduce a new cast kind for loading an ObjCProperty l-value, and make sure we emit those nodes whenever an ObjCProperty l-value appears that's not on the LHS of an assignment operator. This breaks a couple of rewriter tests, which I've x-failed until future development occurs on the rewriter. Ted Kremenek kindly contributed the analyzer workarounds in this patch. llvm-svn: 120890
-
John McCall authored
Also, move the l-value emission code into CGObjC.cpp and teach it, for completeness, to store away self for a super send. Also, inline the super cases for property gets and sets and make them use the correct result type for implicit getter/setter calls. llvm-svn: 120887
-
John McCall authored
the l-value. llvm-svn: 120884
-
Peter Collingbourne authored
llvm-svn: 120881
-