diff options
author | Kazu Hirata <kazu@google.com> | 2025-10-18 10:17:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-18 10:17:05 -0700 |
commit | e3609ae585088789bd5d5ca5425a2ca66b4c58df (patch) | |
tree | dfcd47ed3e3bf36e8d6bee1f6ce8be9a5d2001af /clang/unittests/Format/FormatTestJava.cpp | |
parent | 49149261a908a7662bcbe36a73e632e84e726ddb (diff) | |
download | llvm-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