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/ParseDecl.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/ParseDecl.cpp')
-rw-r--r-- | Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp index be3711106b..9dd0d95d79 100644 --- a/Parse/ParseDecl.cpp +++ b/Parse/ParseDecl.cpp @@ -757,7 +757,7 @@ void Parser::ParseStructUnionBody(SourceLocation RecordLoc, MatchRHSPunctuation(tok::r_brace, LBraceLoc); - Actions.ParseRecordBody(RecordLoc, TagDecl, &FieldDecls[0],FieldDecls.size()); + Actions.ProcessFieldDecls(RecordLoc,TagDecl,&FieldDecls[0],FieldDecls.size()); AttributeList *AttrList = 0; // If attributes exist after struct contents, parse them. |