]> granicus.if.org Git - clang/commit
[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)
commit2483f1c91518c30f46508811bc023a37bcd33207
tree30785dd34752135b7fc612cf695747d97f63e64e
parentc8b31d0d0079871780d1bb65e4c5d25e5a391474
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340977 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
lib/StaticAnalyzer/Core/ExprEngine.cpp
test/Analysis/temporaries.cpp