diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-11-20 15:39:22 -0800 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-11-20 16:29:31 -0800 |
commit | d9957c7405bc726422dbc2736ad62f704916fbe8 (patch) | |
tree | 986901d3ddc31d5daf7b31d983963a417d3ceaf4 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | a0da875a3ace9f4d4ade54f7a4764e327169a629 (diff) | |
download | bcm5719-llvm-d9957c7405bc726422dbc2736ad62f704916fbe8.tar.gz bcm5719-llvm-d9957c7405bc726422dbc2736ad62f704916fbe8.zip |
[Sema] Add a 'Semantic' parameter to Expr::isKnownToHaveBooleanValue
Some clients of this function want to know about any expression that is known
to produce a 0/1 value, and others care about expressions that are semantically
boolean.
This fixes a -Wswitch-bool regression I introduced in 8bfb353bb33c, pointed out
by Chris Hamilton!
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions