no overloaded operators were found in scope, mirroring what we already
do for BinaryOperator.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106222
91177308-0d34-0410-b5e6-
96231b3b80d8
}
if (Input->isTypeDependent()) {
+ if (Fns.empty())
+ return Owned(new (Context) UnaryOperator(input.takeAs<Expr>(),
+ Opc,
+ Context.DependentTy,
+ OpLoc));
+
CXXRecordDecl *NamingClass = 0; // because lookup ignores member operators
UnresolvedLookupExpr *Fn
= UnresolvedLookupExpr::Create(Context, /*Dependent*/ true, NamingClass,