Teach GRExprEngine::VisitLValue to ignore CXXExprWithTempories (for now).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91982 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index a0f110e..cc39618 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -754,6 +754,7 @@
switch (Ex->getStmtClass()) {
// C++ stuff we don't support yet.
+ case Stmt::CXXExprWithTemporariesClass:
case Stmt::CXXMemberCallExprClass:
case Stmt::CXXZeroInitValueExprClass: {
SaveAndRestore<bool> OldSink(Builder->BuildSinks);