diff options
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index b5d4a94..cc36172 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -8499,13 +8499,11 @@ void SemaCodeCompletion::CodeCompleteObjCClassMessage( } void SemaCodeCompletion::CodeCompleteObjCInstanceMessage( - Scope *S, Expr *Receiver, ArrayRef<const IdentifierInfo *> SelIdents, + Scope *S, Expr *RecExpr, ArrayRef<const IdentifierInfo *> SelIdents, bool AtArgumentExpression, ObjCInterfaceDecl *Super) { typedef CodeCompletionResult Result; ASTContext &Context = getASTContext(); - Expr *RecExpr = static_cast<Expr *>(Receiver); - // If necessary, apply function/array conversion to the receiver. // C99 6.7.5.3p[7,8]. if (RecExpr) { |