- Jul 21, 2008
-
-
Chris Lattner authored
various objc lists over to it. First up, the protocol list on ObjCInterfaceDecl. llvm-svn: 53856
-
Ted Kremenek authored
llvm-svn: 53855
-
Chris Lattner authored
be consistent with ObjCInterfaceDecl. llvm-svn: 53852
-
Daniel Dunbar authored
+ test case llvm-svn: 53851
-
Duncan Sands authored
generic SDNode's (nodes with their own constructors should do sanity checking in the constructor). Add sanity checks for BUILD_VECTOR and fix all the places that were producing bogus BUILD_VECTORs, as found by "make check". My favorite is the BUILD_VECTOR with only two operands that was being used to build a vector with four elements! llvm-svn: 53850
-
Argyrios Kyrtzidis authored
llvm-svn: 53849
-
Chris Lattner authored
llvm-svn: 53848
-
Chris Lattner authored
the standard "set these as the list of protocols" interface instead of a strange "set this as the size and then set each one to the value" interface. The problem with the later is that it a) is completely different from everything else, b) is awkward, and c) doesn't handle the case when a referenced protocol is invalid: it set it to null. This meant that all clients downstream would have to handle null protocols in the protocol list, and empirically they didn't. Fix this by not setting invalid protocols in the referenced protocol list, fixing the crash on test/Sema/objc-interface-1.m While I'm at it, clean up some locations so that we produce: t.m:1:25: error: cannot find interface declaration for 'NSObject', superclass of 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ~~~~~~~~~~~~~~~~~~~~~ ^ instead of: t.m:1:1: error: cannot find interface declaration for 'NSObject', superclass of 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ llvm-svn: 53846
-
Chris Lattner authored
@implementation to resolve nullary selector references. llvm-svn: 53845
-
Evan Cheng authored
Use movaps instead of movups to spill 16-byte vector values when default alignment is >= 16. This fixes some massive performance regressions. llvm-svn: 53844
-
Chris Lattner authored
it goes and makes std::strings out of them, which is not defined. llvm-svn: 53843
-
Chris Lattner authored
llvm-svn: 53842
-
Chris Lattner authored
interface. This fixes a bug where we used to accept: void test2(NSNumber x) { [x METH]; } which doesn't make sense and GCC rejects. llvm-svn: 53841
-
Chris Lattner authored
llvm-svn: 53837
-
Chris Lattner authored
llvm-svn: 53836
-
Chris Lattner authored
llvm-svn: 53835
-
Chris Lattner authored
have better source ranges. Before: t.m:11:53: error: member reference is not to a structure or union CGFloat maxOffsetY = [_outlineLayer contentSize].height - [_outlineLayer frame].size.height; ^~~~~~~ after: t.m:11:54: error: member reference base type ('id') is not a structure or union CGFloat maxOffsetY = [_outlineLayer contentSize].height - [_outlineLayer frame].size.height; ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ llvm-svn: 53834
-
Chris Lattner authored
llvm-svn: 53833
-
Chris Lattner authored
protocol. Simplify some code to use unconditional form of the protocol access list. llvm-svn: 53832
-
Chris Lattner authored
llvm-svn: 53831
-
Chris Lattner authored
make the qual_* iterators and getNumProtocols() lists be accessible through ObjCInterfaceType (returning an empty range if not a ObjCQualifiedInterfaceType). This eliminates special checks in clients. llvm-svn: 53830
-
Chris Lattner authored
This code would previously crash on x.y where x is 'id'. llvm-svn: 53827
-
Chris Lattner authored
llvm-svn: 53826
-
Chris Lattner authored
don't care which class actually defines it. llvm-svn: 53825
-
Chris Lattner authored
from: t.m:8:7: error: member reference is not to a structure or union pool->farm = 0; ^ ~~~~ to: t.m:8:7: error: 'NSAutoreleasePool' has member named 'farm' pool->farm = 0; ~~~~^ ~~~~ llvm-svn: 53824
-
Chris Lattner authored
llvm-svn: 53823
-
Chris Lattner authored
llvm-svn: 53822
-
Chris Lattner authored
llvm-svn: 53821
-
Chris Lattner authored
id<NSCopyable>* is not an "objc pointer type", id<NSCopyable> is. llvm-svn: 53820
-
Chris Lattner authored
interfaces. Just because they x->isPointerType() doesn't mean it is valid to just cast to a pointertype. We have to handle typedefs etc as well. llvm-svn: 53819
-
Chris Lattner authored
llvm-svn: 53818
-
Chris Lattner authored
llvm-svn: 53817
-
Nick Lewycky authored
llvm-svn: 53816
-
Nick Lewycky authored
bail after 256-bits to avoid producing code that the backends can't handle. Previously, we capped it at 64-bits, preferring to miscompile in those cases. This change also reverts much of r52248 because the invariants the code was expecting are now being met. llvm-svn: 53812
-
- Jul 20, 2008
-
-
Wojciech Matyjewicz authored
llvm-svn: 53811
-
Wojciech Matyjewicz authored
count. llvm-svn: 53810
-
Cedric Venet authored
llvm-svn: 53809
-
Chris Lattner authored
llvm-svn: 53808
-
Bill Wendling authored
into v4i16 vectors. llvm-svn: 53807
-
Bill Wendling authored
If .loc and .file aren't used, always emit the "debug_line" section. This requires at least one entry in the line matrix. So if there's nothing to emit into the matrix, emit an end of matrix value anyway. llvm-svn: 53803
-