]> granicus.if.org Git - clang/commit
[analyzer] pr43036: Fix support for operator 'sizeof...'.
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 28 Aug 2019 18:44:35 +0000 (18:44 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 28 Aug 2019 18:44:35 +0000 (18:44 +0000)
commitc07bc247e69b4603aed46156ad2b4744c16ad90b
tree652eebce128bf674c3655aafecbed3fa246a1ee5
parentc33061eb3cc1cbc1cc853eec678af611bf0ed39a
[analyzer] pr43036: Fix support for operator 'sizeof...'.

It was known to be a compile-time constant so it wasn't evaluated during
symbolic execution, but it wasn't evaluated as a compile-time constant either.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370245 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/Environment.cpp
test/Analysis/sizeofpack.cpp [new file with mode: 0644]