diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2017-12-04 04:46:47 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2017-12-04 04:46:47 +0000 |
commit | a565a7b9b835656746d82425721d0f0eb69e3113 (patch) | |
tree | f2f16b43610a7e4858779a17f1a1662068c4e65a /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | 569e53b0f63001284a521a7a91c9cb189b3bdc7f (diff) | |
download | bcm5719-llvm-a565a7b9b835656746d82425721d0f0eb69e3113.tar.gz bcm5719-llvm-a565a7b9b835656746d82425721d0f0eb69e3113.zip |
[analyzer] Don't treat lambda-captures float constexprs as undefined
RegionStore has special logic to evaluate captured constexpr variables.
However, if the constexpr initializer cannot be evaluated as an integer, the
value is treated as undefined. This leads to false positives when, for example,
a constexpr float is captured by a lambda.
To fix this, treat a constexpr capture that cannot be evaluated as unknown
rather than undefined.
rdar://problem/35784662
llvm-svn: 319638
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions