| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
- Allow classnames as the receiver (removing a FIXME from ParseObjCMessageExpression).
- Added a FIXME to ParseObjCMessageExpression()...we need to return a message expr AST node!
llvm-svn: 42001
|
|
|
|
|
|
| |
The previous naming scheme was confusing, since it resulted in both the Parser and Action modules having methods with the same name. In addition, the Action module never does any parsing...
llvm-svn: 41986
|
|
|
|
|
|
|
|
|
|
| |
visibility argument.
Remove Action::ObjcAddVisibilityToIvars(). No need for an extra API when it is trivial to add this info to the previous hook.
In general, I want to start migrating away from having Actions prefixed with "Parse" (which is confusing, since the Action API doesn't do any parsing, per se).
llvm-svn: 41973
|
|
|
|
| |
llvm-svn: 41961
|
|
|
|
| |
llvm-svn: 41954
|
|
|
|
| |
llvm-svn: 41932
|
|
|
|
|
|
|
|
| |
cocoa.m due
to use of @property.
llvm-svn: 41880
|
|
|
|
| |
llvm-svn: 41803
|
|
|
|
|
|
| |
class object.
llvm-svn: 41801
|
|
|
|
|
|
|
|
|
|
|
| |
Objective-C classes
as types. That said, the AST nodes ObjcInterfaceDecl, ObjcInterfaceType, and ObjcClassDecl are *very*
preliminary.
The good news is we no longer need -parse-noop (aka MinimalActions) to parse cocoa.m.
llvm-svn: 41752
|
|
|
|
|
|
|
|
| |
and methods.
Lot's of small changes to the parser.
llvm-svn: 41732
|
|
|
|
| |
llvm-svn: 41731
|
|
|
|
|
|
|
|
| |
2. Fixes all allowable key-words used as selectors.
3. Template to do the messaging parse.
4. A test case for all allowable selector names.
llvm-svn: 41723
|
|
|
|
| |
llvm-svn: 41716
|
|
|
|
| |
llvm-svn: 41709
|
|
|
|
|
|
| |
objc2's @synthesize and @dynamic.
llvm-svn: 41667
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Log:
Implement parsing of objective-c's new @property declaration.
Modified:
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Parser.h
Parse/ParseObjc.cpp
Parse/Parser.cpp
llvm-svn: 41644
|
|
|
|
| |
llvm-svn: 41583
|
|
|
|
|
|
| |
- Use getLang().ObjC2 when appropriate.
llvm-svn: 41333
|
|
|
|
|
|
| |
Convert all clients to the new cleaner, more robust API.
llvm-svn: 41330
|
|
|
|
|
|
| |
for a right parenthesis when parsing @encode() and @protocol().
llvm-svn: 41321
|
|
|
|
| |
llvm-svn: 41320
|
|
|
|
| |
llvm-svn: 41303
|
|
|
|
|
|
| |
Now we can parse quite a bit of "Foundation.h" (a couple bugs remain).
llvm-svn: 41300
|
|
|
|
|
|
| |
Next step...starting installing class names into the type namespace (so we can start parsing Cocoa headers).
llvm-svn: 41283
|
|
|
|
|
|
|
|
|
|
| |
@interface).
Still need to finish Parser::ParseObjCMethodDecl(). Before I do, I need to do a minor
refactoring of ParseDeclarationOrFunctionDefinition(), to disallow function definitions.
At the moment, @inteface allows function defs (which is incorrect).
llvm-svn: 41275
|
|
|
|
| |
llvm-svn: 41273
|
|
|
|
|
|
| |
Next step, method...
llvm-svn: 41251
|
|
|
|
| |
llvm-svn: 41238
|
|
|
|
|
|
|
| |
Next step, refactor Parser::ParseStructUnionBody() so that struct declarations can
be shared with Objective-C (for declaring instance variables).
llvm-svn: 41200
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out of the llvm namespace. This makes the clang namespace be a sibling of
llvm instead of being a child.
The good thing about this is that it makes many things unambiguous. The
bad things is that many things in the llvm namespace (notably data structures
like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport
should be split out of llvm into their own namespace in the future, which will fix
this issue.
llvm-svn: 39659
|
|
|
|
| |
llvm-svn: 39183
|
|
|
|
|
|
| |
token: it is better for the code to be explicit.
llvm-svn: 39158
|
|
|
|
| |
llvm-svn: 39148
|
|
llvm-svn: 39124
|