Sema: Formatting. No behavior change.
llvm-svn: 227052
This commit is contained in:
@@ -3947,7 +3947,7 @@ void Sema::CodeCompleteCall(Scope *S, Expr *Fn, ArrayRef<Expr *> Args) {
|
||||
// If expression's type is CXXRecordDecl, it may overload the function
|
||||
// call operator, so we check if it does and add them as candidates.
|
||||
// A complete type is needed to lookup for member function call operators.
|
||||
if(!RequireCompleteType(Loc, NakedFn->getType(), 0)) {
|
||||
if (!RequireCompleteType(Loc, NakedFn->getType(), 0)) {
|
||||
DeclarationName OpName = Context.DeclarationNames
|
||||
.getCXXOperatorName(OO_Call);
|
||||
LookupResult R(*this, OpName, Loc, LookupOrdinaryName);
|
||||
|
||||
Reference in New Issue
Block a user