diff options
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp index fff5ae411ea..8bacea14bf8 100644 --- a/clang/lib/Sema/SemaExprObjC.cpp +++ b/clang/lib/Sema/SemaExprObjC.cpp @@ -96,7 +96,7 @@ Sema::ExprResult Sema::ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation RParenLoc) { ObjCProtocolDecl* PDecl = ObjCProtocols[ProtocolId]; if (!PDecl) { - Diag(ProtoLoc, diag::err_undeclared_protocol) << ProtocolId->getName(); + Diag(ProtoLoc, diag::err_undeclared_protocol) << ProtocolId; return true; } |