]> granicus.if.org Git - clang/commit
refactor Parser::ParseStructDeclaration to return a vector of uninterpreted
authorChris Lattner <sabre@nondot.org>
Thu, 10 Apr 2008 06:46:29 +0000 (06:46 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Apr 2008 06:46:29 +0000 (06:46 +0000)
commite13594279a952537ac903325efff57e3edca79d9
treec21fd323f3ac30e82c4e08889cb2ee4ef251e978
parent60b1e3ebe4ced60f7d65027c610fb3cda0a3cf70
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49468 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/DeclSpec.h
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseObjc.cpp