aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-10-18 10:17:05 -0700
committerGitHub <noreply@github.com>2025-10-18 10:17:05 -0700
commite3609ae585088789bd5d5ca5425a2ca66b4c58df (patch)
treedfcd47ed3e3bf36e8d6bee1f6ce8be9a5d2001af /clang/unittests/Format/FormatTestJava.cpp
parent49149261a908a7662bcbe36a73e632e84e726ddb (diff)
downloadllvm-e3609ae585088789bd5d5ca5425a2ca66b4c58df.zip
llvm-e3609ae585088789bd5d5ca5425a2ca66b4c58df.tar.gz
llvm-e3609ae585088789bd5d5ca5425a2ca66b4c58df.tar.bz2
[ADT] Simplify rotl/rotr implementations (NFC) (#164055)
This patch simplifies rotl and rotr by ANDing the rotate amount with N - 1. This way, we can remove the mutual dependencies and the forward declaration of rotr.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions