aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-05-03 19:16:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-05-03 19:16:22 +0000
commit0f2fc5ff49cb9abd6c6972ffd6db066295672867 (patch)
treebfc41cab8354335424b7c89e9d3f8a040624e8d4 /lib
parent8c045ace381972f41d385b0a661ccf172834f459 (diff)
PR15906: The body of a lambda is not an evaluated subexpression; don't visit it when visiting such subexpressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 5e0d7f2a0a..f5b4823fdb 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -7212,7 +7212,7 @@ namespace {
return;
}
Inherited::VisitUnaryOperator(E);
- }
+ }
void VisitObjCMessageExpr(ObjCMessageExpr *E) { return; }