aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorAlexis Murzeau <amubtdx@gmail.com>2023-02-24 19:17:56 +0000
committerPiotr Zegar <piotr.zegar@nokia.com>2023-02-24 19:17:56 +0000
commit3f6a8d52d64553239aade3a425a5f56ebe88bc9e (patch)
tree81e337810410b61515963af706ec90946ce5fcb0 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent6e30dffe71cbcc22ba84b31b056c58f6d588c897 (diff)
downloadllvm-3f6a8d52d64553239aade3a425a5f56ebe88bc9e.zip
llvm-3f6a8d52d64553239aade3a425a5f56ebe88bc9e.tar.gz
llvm-3f6a8d52d64553239aade3a425a5f56ebe88bc9e.tar.bz2
[clang-tidy] improve readability-identifier-naming hungarian options test
Adjust identifier-naming-hungarian-notation-cfgfile test with changes for all configs in .clang-tidy to ensure they are really taken into account. This is done this way: - Set all HungarianNotation.* options to `cust` prefix + their default value. - Set TreatStructAsClass to true as it defaults to false. - Because of the TreatStructAsClass change, add a test to check that structs are really checked the same way as classes (see `struct StructCase`). Also, `TreatStructAsClass` was wrongly named in the test's .clang-tidy file and was fixed (it is in `General`, not in `Options`). Depends on D144431 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D144510
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions