aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-06-25 22:26:24 -0700
committerKazu Hirata <kazu@google.com>2022-06-25 22:26:24 -0700
commit97afce08cbbb1390cf8ddab8bf398f3ff5b39676 (patch)
tree5dbd790ef58e24345eb2f5a56dff401ddea175d0 /clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
parent0a0effdd5b654ed90f3c3cfae5d9d9dd0a0db8de (diff)
downloadllvm-97afce08cbbb1390cf8ddab8bf398f3ff5b39676.zip
llvm-97afce08cbbb1390cf8ddab8bf398f3ff5b39676.tar.gz
llvm-97afce08cbbb1390cf8ddab8bf398f3ff5b39676.tar.bz2
[clang] Don't use Optional::hasValue (NFC)
This patch replaces Optional::hasValue with the implicit cast to bool in conditionals only.
Diffstat (limited to 'clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp')
0 files changed, 0 insertions, 0 deletions