[CFG] [analyzer] Disable argument construction contexts for variadic functions.
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 29 Aug 2018 22:05:35 +0000 (22:05 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 29 Aug 2018 22:05:35 +0000 (22:05 +0000)
commited19831f63223b9540862ccc3c6d185014b5f6b7
treee119d088c963c92cd8e7271baee4557880c38b4a
parent8c95b48ba273b28e22912191bfc25e8a2144377f
[CFG] [analyzer] Disable argument construction contexts for variadic functions.

The analyzer doesn't make use of them anyway and they seem to have
pretty weird AST from time to time, so let's just skip them for now.

Fixes a crash reported as pr37769.

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

llvm-svn: 340977
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/Analysis/temporaries.cpp