summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-09-10 21:24:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-09-10 21:24:09 +0000
commit045b2270ceba0ad785cf27beb05dd59ce10372f6 (patch)
tree6ce165e8759f68105b728b5124d896a603b561bd /lldb/packages/Python/lldbsuite/test/python_api
parent1e1db800487cbaf96e8f7809e3df42ba979c121d (diff)
downloadbcm5719-llvm-045b2270ceba0ad785cf27beb05dd59ce10372f6.tar.gz
bcm5719-llvm-045b2270ceba0ad785cf27beb05dd59ce10372f6.zip
When evaluating a __builtin_constant_p conditional, always enter
constant-folding mode regardless of the original evaluation mode. In order for this to be correct, we need to track whether we're checking for a potential constant expression or checking for undefined behavior separately from the evaluation mode enum, since we don't want to clobber those states when entering constant-folding mode. llvm-svn: 371557
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud