[analyzer] Fix eliding the same destructor twice due to buggy default arguments.
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 31 Jul 2018 21:17:40 +0000 (21:17 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 31 Jul 2018 21:17:40 +0000 (21:17 +0000)
commit67d393f3d12eb499a2314da552aabc2f77949b44
tree0dbe8c9b05532aa7b587644e9e707d0a9642b5ac
parent2a895e57aff3e7f5387ca5be76189cfb32489483
[analyzer] Fix eliding the same destructor twice due to buggy default arguments.

Because of incomplete support for CXXDefaultArgExpr, we cannot yet commit to
asserting that the same destructor won't be elided twice.

Suppress the assertion failure for now. Proper support is still an open problem.

Differential Revision: https://reviews.llvm.org/D49213

llvm-svn: 338441
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/Analysis/temporaries.cpp