From: Kaelyn Uhrain Date: Tue, 1 May 2012 01:17:53 +0000 (+0000) Subject: Let's use the correct bool this time. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=111263cf8d829f5a3d0a3c9164f65c1c8223ac7e;p=clang Let's use the correct bool this time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155871 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExprMember.cpp b/lib/Sema/SemaExprMember.cpp index 223a7f1f8d..7532cb4485 100644 --- a/lib/Sema/SemaExprMember.cpp +++ b/lib/Sema/SemaExprMember.cpp @@ -839,7 +839,7 @@ Sema::BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, if (ExtraArgs) { ExprResult RetryExpr; if (!IsArrow && BaseExpr) { - SFINAETrap Trap(*this, false); + SFINAETrap Trap(*this, true); ParsedType ObjectType; bool MayBePseudoDestructor = false; RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr,