aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExprMember.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-05-01 01:17:53 +0000
committerKaelyn Uhrain <rikka@google.com>2012-05-01 01:17:53 +0000
commit111263cf8d829f5a3d0a3c9164f65c1c8223ac7e (patch)
tree3c63615b34a7896f860122ff2380a7a7a309d8bb /lib/Sema/SemaExprMember.cpp
parent1a200a87c1bacee11b7c4283ae5f3f3f74a3c1b2 (diff)
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
Diffstat (limited to 'lib/Sema/SemaExprMember.cpp')
-rw-r--r--lib/Sema/SemaExprMember.cpp2
1 files changed, 1 insertions, 1 deletions
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,