diff options
author | Steve Naroff <snaroff@apple.com> | 2007-09-14 23:09:53 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-09-14 23:09:53 +0000 |
commit | f13271f8402b4434f978b64143f236db0a99c13a (patch) | |
tree | f3d687c1373975ceb0ba8df4d3bcd3a673745b2d /Parse/ParseObjc.cpp | |
parent | 13ed7fea9728a89abc8fe1530d148a3589867b4c (diff) |
Rename Action::ParseRecordBody() to ProcessFieldDecls(), and add a 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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/ParseObjc.cpp')
-rw-r--r-- | Parse/ParseObjc.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp index 29f8001c13..791057b627 100644 --- a/Parse/ParseObjc.cpp +++ b/Parse/ParseObjc.cpp @@ -659,10 +659,9 @@ void Parser::ParseObjCClassInstanceVariables(DeclTy *interfaceDecl) { } } if (AllIvarDecls.size()) { // Check for {} - no ivars in braces - Actions.ObjcAddVisibilityToIvars(interfaceDecl, - &AllIvarDecls[0], AllIvarDecls.size(), &AllVisibilities[0]); - Actions.ParseRecordBody(LBraceLoc, interfaceDecl, - &AllIvarDecls[0], AllIvarDecls.size()); + Actions.ProcessFieldDecls(LBraceLoc, interfaceDecl, + &AllIvarDecls[0], AllIvarDecls.size(), + &AllVisibilities[0]); } MatchRHSPunctuation(tok::r_brace, LBraceLoc); return; |