aboutsummaryrefslogtreecommitdiff
path: root/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-10 17:32:04 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-10 17:32:04 +0000
commite440eb8158e71deb1e4ab11618ae3d680aac6da1 (patch)
tree87e73a5f37a8b809bbdf6d01a1fd9144ff70f483 /Parse/ParseDecl.cpp
parentf1af947276efe378dbf1f6b0ec24cb46802a124a (diff)
Remove Scope argument from ObjC actions that either don't need it or can now use TUScope.
Also improve a recently added comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/ParseDecl.cpp')
-rw-r--r--Parse/ParseDecl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp
index dcbbd89e65..00e441412f 100644
--- a/Parse/ParseDecl.cpp
+++ b/Parse/ParseDecl.cpp
@@ -409,8 +409,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS) {
if (Tok.is(tok::less)) {
llvm::SmallVector<IdentifierInfo *, 8> ProtocolRefs;
ParseObjCProtocolReferences(ProtocolRefs);
- Actions.ActOnFindProtocolDeclaration(CurScope,
- Loc,
+ Actions.ActOnFindProtocolDeclaration(Loc,
&ProtocolRefs[0],
ProtocolRefs.size());
}