aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorPiotr Zegar <piotr.zegar@nokia.com>2023-07-30 13:18:03 +0000
committerPiotr Zegar <me@piotrzegar.pl>2023-07-30 13:19:51 +0000
commitf27f22b34516dcb744077710c19d475367e3ef03 (patch)
treeff2b149380d1146c59ee36769ccb73df9395968a /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent6dfa95dae10b7aa0d2a5b8fc9d86f4da52271693 (diff)
downloadllvm-f27f22b34516dcb744077710c19d475367e3ef03.zip
llvm-f27f22b34516dcb744077710c19d475367e3ef03.tar.gz
llvm-f27f22b34516dcb744077710c19d475367e3ef03.tar.bz2
[clang-tidy] Added bugprone-inc-dec-in-conditions check
Detects when a variable is both incremented/decremented and referenced inside a complex condition and suggests moving them outside to avoid ambiguity in the variable's value. Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D149015
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions