aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-30 19:25:39 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-30 19:25:39 +0000
commit6a5cd5e1cad601bfe3785654f6bbdfe81844bc07 (patch)
treeb613739fb954f5424f0397ece15a36f8e46f0cf3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb5294a3b5934cee3196cbd5a6d69010022b8ace9 (diff)
downloadllvm-6a5cd5e1cad601bfe3785654f6bbdfe81844bc07.zip
llvm-6a5cd5e1cad601bfe3785654f6bbdfe81844bc07.tar.gz
llvm-6a5cd5e1cad601bfe3785654f6bbdfe81844bc07.tar.bz2
[CFG] [analyzer] Work around a disappearing CXXBindTemporaryExpr.
Sometimes template instantiation causes CXXBindTemporaryExpr to be missing in its usual spot. In CFG, temporary destructors work by relying on CXXBindTemporaryExprs, so they won't work in this case. Avoid the crash and notify the clients that we've encountered an unsupported AST by failing to provide the ill-formed construction context for the temporary. Differential Revision: https://reviews.llvm.org/D44955 llvm-svn: 328895
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions