diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-10 21:24:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-10 21:24:09 +0000 |
commit | 045b2270ceba0ad785cf27beb05dd59ce10372f6 (patch) | |
tree | 6ce165e8759f68105b728b5124d896a603b561bd /lldb/packages/Python/lldbsuite/test/python_api/frame/main.c | |
parent | 1e1db800487cbaf96e8f7809e3df42ba979c121d (diff) | |
download | bcm5719-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/frame/main.c')
0 files changed, 0 insertions, 0 deletions