summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-10-05 08:28:25 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-10-05 08:28:25 +0000
commit9cb5614c29ec4e53191af3ec0f212a66f9dfd788 (patch)
tree06500c4ba5f004eccbe990395e36d618bf239176 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent0c33406aaacf7451a43255c337bbf357b6fc730d (diff)
downloadbcm5719-llvm-9cb5614c29ec4e53191af3ec0f212a66f9dfd788.tar.gz
bcm5719-llvm-9cb5614c29ec4e53191af3ec0f212a66f9dfd788.zip
[analyzer] Improve "Assuming..." diagnostic pieces for logical operators.
Logical short-circuit operators now act like other branch conditions. If the symbolic value of the left-hand side is not known to be true or false (based on the previous execution path), the "Assuming" event piece is added in order to explain that the analyzer is adding a new assumption. Additionally, when the assumption is made against the right-hand side of the logical operator (i.e. when the operator itself acts as a condition in another CFG terminator), the "Assuming..." piece is written out for the right-hand side of the operator rather than for the whole operator. This allows expression-specific diagnostic message text to be constructed. Differential Revision: https://reviews.llvm.org/D25092 llvm-svn: 283302
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud