diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-02 23:21:28 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-02 23:21:28 +0000 |
commit | f7d3048e5b90c9d71ea462a721efce360260fd60 (patch) | |
tree | daf1bb0cff12f6348f8a3e93f2385e0e0978220b /lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values | |
parent | 3af3900ee7f95c0617068b7778ce3f7fed81bbcc (diff) | |
download | bcm5719-llvm-f7d3048e5b90c9d71ea462a721efce360260fd60.tar.gz bcm5719-llvm-f7d3048e5b90c9d71ea462a721efce360260fd60.zip |
Fix -Wunsequenced false-positives in code controlled by a branch on
__builtin_constant_p.
If the operand of __builtin_constant_p is not constant and has
side-effects, then code controlled by a branch on it is unreachable and
we should not emit runtime behavior warnings in such code.
llvm-svn: 359844
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values')
0 files changed, 0 insertions, 0 deletions