aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorChris B <chris.bieneman@me.com>2025-10-17 08:42:00 -0500
committerGitHub <noreply@github.com>2025-10-17 08:42:00 -0500
commitf3cd6b749c809b3b6fbe0de4e8fd2daa94493d3f (patch)
tree3c5ad352cacde0b1675e7515c3ae2ff21d03a6ad /clang/unittests/Format/FormatTestJava.cpp
parentf404517cb9d762e035f7bc2b5201990465b32853 (diff)
downloadllvm-f3cd6b749c809b3b6fbe0de4e8fd2daa94493d3f.zip
llvm-f3cd6b749c809b3b6fbe0de4e8fd2daa94493d3f.tar.gz
llvm-f3cd6b749c809b3b6fbe0de4e8fd2daa94493d3f.tar.bz2
[HLSL] Convert vectors to bool for unary ! (#163857)
HLSL extends C++'s requirement that unary `!` apply to boolean arguments and produces boolean results to apply to vectors. This change implements implicit conversion for non-boolean vector operands to boolean vectors. I've noted this behavior in the issue tracking writing the HLSL specification section on unary operators (https://github.com/microsoft/hlsl-specs/issues/686). Fixes #162913 --------- Co-authored-by: Farzon Lotfi <farzonl@gmail.com> Co-authored-by: Erich Keane <ekeane@nvidia.com>
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions