aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorVictor Chernyakin <chernyakin.victor.j@outlook.com>2025-07-13 09:23:27 -0700
committerGitHub <noreply@github.com>2025-07-13 19:23:27 +0300
commit59b39c0031eded7c46e554b161382187cb2d0ca5 (patch)
treeb240dd3f6b36b81cd981a9266ba1f23c958daf4f /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent1db33f1034aa758ff7a04d09641232d2ce1a2a2b (diff)
downloadllvm-59b39c0031eded7c46e554b161382187cb2d0ca5.zip
llvm-59b39c0031eded7c46e554b161382187cb2d0ca5.tar.gz
llvm-59b39c0031eded7c46e554b161382187cb2d0ca5.tar.bz2
[clang-tidy] Add new check: `readability-use-concise-preprocessor-directives` (#146830)
Closes #132561. This is a check that rewrites `#if`s and `#elif`s like so: ```cpp #if defined(MEOW) // -> #ifdef MEOW #if !defined(MEOW) // -> #ifndef MEOW ``` And, since C23 and C++23: ```cpp #elif defined(MEOW) // -> #elifdef MEOW #elif !defined(MEOW) // -> #elifndef MEOW ```
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions