- Aug 26, 2008
-
-
Daniel Dunbar authored
- Change enum name to Kind. - Change enum constants to English strings. Also, fix getPropertyImplementation (which probably should be renamed) llvm-svn: 55354
-
- Aug 20, 2008
-
-
Daniel Dunbar authored
- Drop MethodAttrs parameter to ObjCMethodDecl - Call ProcessDeclAttributeList for interface & method decls. llvm-svn: 55068
-
- Aug 13, 2008
-
-
Steve Naroff authored
The following case resulted in an invalid start location: // start location not being set for ObjCProtocolDecl AST (when a forward reference is in scope). @protocol Buggy; @protocol Buggy @optional - whatever; @end llvm-svn: 54740
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
-
Daniel Dunbar authored
- Drop TokenKinds.h from Action.h - Move DeclSpec.h from Sema.h into individual Sema .cpp files llvm-svn: 54625
-
- Jul 27, 2008
-
-
Chris Lattner authored
llvm-svn: 54114
-
Chris Lattner authored
ASTContext::getCanonicalType instead (PR2189) llvm-svn: 54105
-
- Jul 26, 2008
-
-
Chris Lattner authored
llvm-svn: 54101
-
Chris Lattner authored
last client of the old ParseObjCProtocolReferences, so it also removes it. llvm-svn: 54094
-
Chris Lattner authored
llvm-svn: 54093
-
Chris Lattner authored
This temporarily duplicates ParseObjCProtocolReferences, but it will be removed in the future. llvm-svn: 54092
-
Chris Lattner authored
llvm-svn: 54091
-
Chris Lattner authored
llvm-svn: 54090
-
- Jul 25, 2008
-
-
Steve Naroff authored
llvm-svn: 54032
-
- Jul 22, 2008
-
-
Chris Lattner authored
of a specific smallvector size. Fix protocol lists to pass down proper location info, so we get diagnostics like this: t.m:3:35: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ instead of this: t.m:3:44: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ Add a new IdentifierLocPair typedef which is just a pair<IdentifierInfo*, SourceLocation> llvm-svn: 53883
-
- 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
llvm-svn: 53864
-
Chris Lattner authored
References to forward definitions should be warnings. llvm-svn: 53863
-
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
-
Argyrios Kyrtzidis authored
llvm-svn: 53849
-
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
-
- Jul 05, 2008
-
-
Seo Sanghyeon authored
llvm-svn: 53141
-
- Jun 28, 2008
-
-
Argyrios Kyrtzidis authored
Replace CurFunctionDecl and CurMethodDecl with methods getCurFunctionDecl() and getCurMethodDecl() that return the appropriate Decl through CurContext. llvm-svn: 52852
-
- Jun 25, 2008
-
-
Argyrios Kyrtzidis authored
The assert at Sema::ObjCActOnStartOfMethodDef should check CurMethodDecl instead of CurFunctionDecl. llvm-svn: 52719
-
- Jun 17, 2008
-
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52422
-
- Jun 06, 2008
-
-
rdar://problem/5986085Steve Naroff authored
Second half of "fix" for <rdar://problem/5986085> clang on xcode: error: redefinition of 'XCElementToggler' as different kind of symbol llvm-svn: 52024
-
- Jun 05, 2008
-
-
Steve Naroff authored
llvm-svn: 52006
-
rdar://problem/5986833Steve Naroff authored
- Changed Sema::ObjCActOnStartOfMethodDef() to more accurately type "self" in factory methods. - Changed Sema::ActOnInstanceMessage() to use the new type to restrict the lookup. llvm-svn: 52005
-
Steve Naroff authored
llvm-svn: 51976
-
- May 23, 2008
-
-
Steve Naroff authored
Also added a FIXME related to how we represent @properties in the ObjCInterfaceDecl AST. llvm-svn: 51450
-
- May 07, 2008
-
-
Fariborz Jahanian authored
an implementation. This fixes couple of failing prperty tests caused by my previous patch. llvm-svn: 50830
-
Fariborz Jahanian authored
properties. Couple of property tests will fail with this patch. Will fix them next. llvm-svn: 50818
-
- May 06, 2008
-
-
Fariborz Jahanian authored
(was IdentifierInfo * before). This will make method declartations whole lot easier. llvm-svn: 50747
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-
- May 02, 2008
-
-
Fariborz Jahanian authored
protocols into class's property list and performing semantics on them for while doing so. llvm-svn: 50587
-
- May 01, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 50532
-
Fariborz Jahanian authored
llvm-svn: 50508
-
- Apr 27, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 50320
-
- Apr 24, 2008
-
-
Fariborz Jahanian authored
its super class. This patch is incomplete. llvm-svn: 50228
-