summaryrefslogtreecommitdiffstats
path: root/clang/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Parse/ParseDecl.cpp')
-rw-r--r--clang/Parse/ParseDecl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Parse/ParseDecl.cpp b/clang/Parse/ParseDecl.cpp
index db568df26e1..8bdcd4e652a 100644
--- a/clang/Parse/ParseDecl.cpp
+++ b/clang/Parse/ParseDecl.cpp
@@ -409,6 +409,10 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS) {
if (Tok.getKind() == tok::less) {
llvm::SmallVector<IdentifierInfo *, 8> ProtocolRefs;
ParseObjCProtocolReferences(ProtocolRefs);
+ Actions.ActOnFindProtocolDeclaration(CurScope,
+ Loc,
+ &ProtocolRefs[0],
+ ProtocolRefs.size());
}
continue;
}
OpenPOWER on IntegriCloud