]> granicus.if.org Git - clang/commit
Add support for parsing method prototypes (and other stuff required by @interface).
authorSteve Naroff <snaroff@apple.com>
Wed, 22 Aug 2007 16:35:03 +0000 (16:35 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 22 Aug 2007 16:35:03 +0000 (16:35 +0000)
commit294494e1cce92043562b4680c613df7fd028c02e
treecb1490098675b634e76f1ee92b8760a3032a7d1f
parent4a2b8a10c4730eb2ceeec24505bef26eb7d829ed
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
Parse/ParseObjc.cpp
include/clang/Basic/DiagnosticKinds.def
include/clang/Basic/TokenKinds.def
include/clang/Parse/Parser.h