#
3bbae00f |
| 26-Jul-2008 |
Chris Lattner <sabre@nondot.org> |
pull protocol resolution out into ActOnStartProtocolInterface. This temporarily duplicates ParseObjCProtocolReferences, but it will be removed in the future.
llvm-svn: 54092
|
#
e08e47ab |
| 25-Jul-2008 |
Chris Lattner <sabre@nondot.org> |
gcc requires a semicolon at the end of an interface, unlike its extension for structs. rdar://6095245.
llvm-svn: 54044
|
#
542cd5d3 |
| 25-Jul-2008 |
Steve Naroff <snaroff@apple.com> |
Move fix in r54013 from the parser to sema.
llvm-svn: 54032
|
#
ce5206b4 |
| 25-Jul-2008 |
Steve Naroff <snaroff@apple.com> |
Fix Parser::ParseObjCMethodDefinition(). Only call the actions module for valid MDecl's.
llvm-svn: 54013
|
#
d7352d68 |
| 21-Jul-2008 |
Chris Lattner <sabre@nondot.org> |
minor cleanup to the actions interface to pass around SmallVectorImpl instead of a specific smallvector size.
Fix protocol lists to pass down proper location info, so we get diagnostics like this:
minor cleanup to the actions interface to pass around SmallVectorImpl instead 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
show more ...
|
Revision tags: llvmorg-2.3.0 |
|
#
09a0d04e |
| 06-Jun-2008 |
Ted Kremenek <kremenek@apple.com> |
Initial work on additional memory collection for ObjC AST objects. We now have Destroy methods of ObjcMethodDecl and ObjCInterfaceDecl which recursively destroy their owned Decls and Stmts. There a
Initial work on additional memory collection for ObjC AST objects. We now have Destroy methods of ObjcMethodDecl and ObjCInterfaceDecl which recursively destroy their owned Decls and Stmts. There are a few cases where it is not clear what to do (FIXMEs included in the patch).
llvm-svn: 52050
show more ...
|
#
d9c26070 |
| 04-Jun-2008 |
Steve Naroff <snaroff@apple.com> |
Parser::ParseObjCSynchronizedStmt() needs to Enter/Exit a decl scope.
llvm-svn: 51963
|
#
b877e2c3 |
| 03-Jun-2008 |
Steve Naroff <snaroff@apple.com> |
Fix parser bug/FIXME with @catch.
<rdar://problem/5980846> clang on xcode: error: declarator requires an identifier (for @catch)
llvm-svn: 51895
|
#
4c290c7c |
| 22-May-2008 |
Steve Naroff <snaroff@apple.com> |
Make sure the source location for @property points the the @-sign (not the decl spec). Also added a FIXME related to how we represent @properties in the ObjCInterfaceDecl AST.
llvm-svn: 51450
|
#
ec6e4c80 |
| 07-May-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
This patch introduces declaration of getter methods for ObjC2's properties. Couple of property tests will fail with this patch. Will fix them next.
llvm-svn: 50818
|
#
09367d68 |
| 06-May-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Patch to refactor setter/getter names of property attributes into Selector (was IdentifierInfo * before). This will make method declartations whole lot easier.
llvm-svn: 50747
|
#
8d91686b |
| 05-May-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
percolate @optional/@required protocols down to ASTs for properties declared in the protocol.
llvm-svn: 50662
|
#
2dfcec12 |
| 29-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Default visbility for instance variables is protected. Patch by Emerson Murhpy-Hill.
llvm-svn: 50452
|
#
f2a7d7c9 |
| 21-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Support for @dynamic AST build. More property semantics checking. First test case for ObjC2's property implementation.
llvm-svn: 50057
|
#
ffe97a39 |
| 18-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Initial work for property implementation declarations. Mostly semantic checking in this patch. This is on going and incomplete.
llvm-svn: 49882
|
#
0152a1a5 |
| 14-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
New AST representation for each objc2's property declaration.
llvm-svn: 49699
|
#
4572b455 |
| 11-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
AST generation for objc2's property declarations.
llvm-svn: 49565
|
#
96376747 |
| 11-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Minor changes per Chris L's review.
llvm-svn: 49539
|
#
de615836 |
| 10-Apr-2008 |
Fariborz Jahanian <fjahanian@apple.com> |
Patch for: 1) objc ivar processing is split out of ActOnField into its own ActOnIvar method. 2) the new objc ivar action takes visibility info directly, eliminating AllVisibilities in ParseObjCCla
Patch for: 1) objc ivar processing is split out of ActOnField into its own ActOnIvar method. 2) the new objc ivar action takes visibility info directly, eliminating AllVisibilities in ParseObjCClassInstanceVariables.
llvm-svn: 49506
show more ...
|
#
a12405b0 |
| 10-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
refactor Parser::ParseStructDeclaration to return a vector of uninterpreted declarators. This allows the clients (C structs, objc classes, objc properties, [future] C++ classes) etc, to do custom
refactor Parser::ParseStructDeclaration to return a vector of uninterpreted declarators. This allows the clients (C structs, objc classes, objc properties, [future] C++ classes) etc, to do custom processing before invoking an action.
This has two benefits in the short term: 1) objc ivar processing should be split out of ActOnField into its own ActOn method. 2) the new objc ivar action can take visibility info directly, eliminating AllVisibilities in ParseObjCClassInstanceVariables. 3) objc properties can pass their own special sauce down to sema as well.
llvm-svn: 49468
show more ...
|
#
e0ea37ac |
| 07-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
move sorting of qualifying protocols from the parser into sema. This allows clients of the parser to have the unmolested list if desired, and guarantees that noone can create an ObjCQualifiedInterf
move sorting of qualifying protocols from the parser into sema. This allows clients of the parser to have the unmolested list if desired, and guarantees that noone can create an ObjCQualifiedInterfaceType with an unsorted list.
llvm-svn: 49310
show more ...
|
#
ed0e1640 |
| 17-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
clean up property memory allocation to move it into the ast classes like the rest of the classes.
llvm-svn: 48434
|
#
acc04a92 |
| 16-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
minor cleanups, make getNumInstanceMethods always return unsigned.
llvm-svn: 48423
|
#
7a51313d |
| 15-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
Make a major restructuring of the clang tree: introduce a top-level lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. Th
Make a major restructuring of the clang tree: introduce a top-level lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones.
llvm-svn: 48402
show more ...
|