summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2017-12-04 04:46:47 +0000
committerDevin Coughlin <dcoughlin@apple.com>2017-12-04 04:46:47 +0000
commita565a7b9b835656746d82425721d0f0eb69e3113 (patch)
treef2f16b43610a7e4858779a17f1a1662068c4e65a /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parent569e53b0f63001284a521a7a91c9cb189b3bdc7f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud