aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-07 22:06:28 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-07 22:06:28 +0800
commitf99ef4322a7a2c09380fff61f88ab9440f05a92c (patch)
tree69538d9ac3acb4a4a680dbce143f39c7b576035c /.clang-tidy
parent3e15bfd7b075209ec3b65d30d0611e060f6fbb77 (diff)
downloadrcc-project-f99ef4322a7a2c09380fff61f88ab9440f05a92c.tar.gz
rcc-project-f99ef4322a7a2c09380fff61f88ab9440f05a92c.tar.xz
[CodeGen] Complete machine pass and ABI lowering infrastructure
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index dcad2ae..514bd75 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -7,6 +7,7 @@ Checks: >
bugprone-*,
-bugprone-easily-swappable-parameters,
performance-*,
+ -performance-enum-size,
portability-*,
llvm-header-guard,
llvm-namespace-comment,
@@ -47,6 +48,8 @@ CheckOptions:
- { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
- { key: readability-identifier-naming.ClassConstantCase, value: CamelCase }
- { key: readability-identifier-naming.EnumConstantCase, value: CamelCase }
+ # Preserve canonical protocol, opcode, ABI, and ISA spellings.
+ - { key: readability-identifier-naming.EnumConstantIgnoredRegexp, value: '^([A-Z][A-Z0-9_]*|Pseudo[A-Z0-9_]+)$' }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
# Other
- { key: readability-identifier-naming.IgnoreMainLikeFunctions, value: 1 }