diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-07 22:06:28 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-07 22:06:28 +0800 |
| commit | f99ef4322a7a2c09380fff61f88ab9440f05a92c (patch) | |
| tree | 69538d9ac3acb4a4a680dbce143f39c7b576035c /.clang-tidy | |
| parent | 3e15bfd7b075209ec3b65d30d0611e060f6fbb77 (diff) | |
| download | rcc-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-tidy | 3 |
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 } |
