- Jul 26, 2008
-
-
Chris Lattner authored
of doing it directly. This is required for PR2189. llvm-svn: 54102
-
Chris Lattner authored
improve 'expression unused' diagnostics for stmtexprs. llvm-svn: 54098
-
Chris Lattner authored
llvm-svn: 54097
-
Chris Lattner authored
First, fix canonical type handling of these, since protocol qualified id's are always canonical. Next, enhance SemaType to actually make these when used (instead of int) allowing them to actually be used when appropriate. Finally remove a bunch of logic relating to the mishandling of canonical types with protocol-qual id's. This fixes rdar://5986251 llvm-svn: 54083
-
Chris Lattner authored
llvm-svn: 54075
-
-
Chris Lattner authored
llvm-svn: 54073
-
Daniel Dunbar authored
llvm-svn: 54071
-
- Jul 25, 2008
-
-
-
Ted Kremenek authored
llvm-svn: 53998
-
- Jul 24, 2008
-
-
Ted Kremenek authored
llvm-svn: 53963
-
- Jul 23, 2008
-
-
Ted Kremenek authored
When constructing an ObjCIvarDecl object in Sema, provide its visibility up front instead of setting it afterwards. This change also fixes a subtle bug where the access control of an ivar would be initialized to garbage if we didn't have an explicit visibility specifier (e.g., @private). llvm-svn: 53955
-
- Jul 21, 2008
-
-
Chris Lattner authored
simplifying code along the way and fixing a problem and memory leak or two. llvm-svn: 53876
-
Chris Lattner authored
various objc lists over to it. First up, the protocol list on ObjCInterfaceDecl. llvm-svn: 53856
-
Chris Lattner authored
be consistent with ObjCInterfaceDecl. llvm-svn: 53852
-
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
llvm-svn: 53831
-
- Jul 16, 2008
-
-
Steve Naroff authored
- Make sure ObjCIvarDecl propagates the bitfield width. - RewriteObjC::SynthesizeIvarOffsetComputation(): Avoid using the __OFFSETOF__ mumbo jumbo for bitfields (since it isn't legal C). This fixes <rdar://problem/5986079> clang ObjC rewriter: bitfields and ivar access don't mix. llvm-svn: 53694
-
- Jul 12, 2008
-
-
Chris Lattner authored
Casts from pointers remain a problem. :) llvm-svn: 53501
-
Chris Lattner authored
llvm-svn: 53500
-
Chris Lattner authored
code. Switch to Eli's getIntWidth method. llvm-svn: 53499
-
Chris Lattner authored
diagnosic+loc info for i-c-e evaluation. llvm-svn: 53490
-
Chris Lattner authored
llvm-svn: 53477
-
- Jul 11, 2008
-
-
Chris Lattner authored
llvm-svn: 53475
-
Chris Lattner authored
comparison has the right width. llvm-svn: 53469
-
Chris Lattner authored
llvm-svn: 53468
-
Chris Lattner authored
llvm-svn: 53467
-
Chris Lattner authored
Add some accessors to APValue. llvm-svn: 53465
-
Chris Lattner authored
llvm-svn: 53463
-
Ted Kremenek authored
"adds support (de)serialization (from)to (in memory) buffer." llvm-svn: 53425
-
- Jul 08, 2008
-
-
Nuno Lopes authored
llvm-svn: 53248
-
Anders Carlsson authored
llvm-svn: 53238
-
Anders Carlsson authored
llvm-svn: 53235
-
Anders Carlsson authored
llvm-svn: 53234
-
Anders Carlsson authored
llvm-svn: 53233
-
Seo Sanghyeon authored
llvm-svn: 53222
-
Anders Carlsson authored
llvm-svn: 53221
-
Anders Carlsson authored
llvm-svn: 53219
-
- Jul 07, 2008
-
-
Nuno Lopes authored
also fix the correspondent test (it was expecting more errors than it should. please confirm my fix is correct (at least gcc agrees with me) llvm-svn: 53174
-
- Jul 03, 2008
-
-
Anders Carlsson authored
llvm-svn: 53074
-