aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Parser.h
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-08-22 16:35:03 +0000
committerSteve Naroff <snaroff@apple.com>2007-08-22 16:35:03 +0000
commit294494e1cce92043562b4680c613df7fd028c02e (patch)
treecb1490098675b634e76f1ee92b8760a3032a7d1f /include/clang/Parse/Parser.h
parent4a2b8a10c4730eb2ceeec24505bef26eb7d829ed (diff)
Add support for parsing method prototypes (and other stuff required by @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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Parser.h')
-rw-r--r--include/clang/Parse/Parser.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h
index f0063f3748..a40d565ffc 100644
--- a/include/clang/Parse/Parser.h
+++ b/include/clang/Parse/Parser.h
@@ -260,12 +260,19 @@ private:
AttributeList *prefixAttrs = 0);
void ParseObjCClassInstanceVariables(DeclTy *interfaceDecl);
bool ParseObjCProtocolReferences();
- void ParseObjCInterfaceDeclList();
+ void ParseObjCInterfaceDeclList(DeclTy *interfaceDecl);
DeclTy *ParseObjCAtProtocolDeclaration();
DeclTy *ParseObjCAtImplementationDeclaration();
DeclTy *ParseObjCAtEndDeclaration();
DeclTy *ParseObjCAtAliasDeclaration();
+ IdentifierInfo *ParseObjCSelector();
+ void ParseObjCTypeName();
+ void ParseObjCMethodRequirement();
+ void ParseObjCMethodPrototype();
+ void ParseObjCMethodDecl(tok::TokenKind mType, SourceLocation mLoc);
+ void ParseObjCPropertyDecl(SourceLocation atLoc);
+
void ParseObjCInstanceMethodDeclaration();
void ParseObjCClassMethodDeclaration();