diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-01 04:30:34 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-01 04:30:34 +0800 |
| commit | 81cf8b68eca2636574f3d0a9fa1cf0b428c163e9 (patch) | |
| tree | f3a83496e71358123cc5f838269dc134d02b63f6 /.clang-tidy | |
| parent | 72af0dedf9e18911da65b9a5c4906689e868d9fc (diff) | |
| download | rcc-project-81cf8b68eca2636574f3d0a9fa1cf0b428c163e9.tar.gz rcc-project-81cf8b68eca2636574f3d0a9fa1cf0b428c163e9.tar.xz | |
[Backend] Establish standalone build infrastructure
Add the thin monorepo CMake entry point and an independently configurable backend project. Enforce the Clang/C++23 toolchain, expose Make/Ninja-neutral tests and developer checks, export an installable RCCBackend package, and introduce the first Support error abstraction.
Diffstat (limited to '.clang-tidy')
| -rw-r--r-- | .clang-tidy | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/.clang-tidy b/.clang-tidy index 856ac61..dcad2ae 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,16 +1,29 @@ HeaderFilterRegex: '' +WarningsAsErrors: '' +FormatStyle: file Checks: > -*, clang-diagnostic-*, - llvm-*, - misc-*, - -misc-const-correctness, - -misc-include-cleaner, - -misc-no-recursion, - -misc-non-private-member-variables-in-classes, - -misc-unused-parameters, - -misc-use-anonymous-namespace, - readability-identifier-naming + bugprone-*, + -bugprone-easily-swappable-parameters, + performance-*, + portability-*, + llvm-header-guard, + llvm-namespace-comment, + llvm-qualified-auto, + misc-definitions-in-headers, + misc-misplaced-const, + misc-new-delete-overloads, + misc-non-copyable-objects, + modernize-use-default-member-init, + modernize-use-equals-default, + modernize-use-equals-delete, + modernize-use-nullptr, + modernize-use-override, + readability-container-size-empty, + readability-identifier-naming, + readability-redundant-*, + readability-simplify-boolean-expr CheckOptions: # Type @@ -26,11 +39,9 @@ CheckOptions: - { key: readability-identifier-naming.FunctionCase, value: camelBack } - { key: readability-identifier-naming.MethodCase, value: camelBack } # Variable - - { key: readability-identifier-naming.VariableCase, value: lower_case } - - { key: readability-identifier-naming.ParameterCase, value: lower_case } - - { key: readability-identifier-naming.MemberCase, value: lower_case } - - { key: readability-identifier-naming.PrivateMemberSuffix, value: _ } - - { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ } + - { key: readability-identifier-naming.VariableCase, value: CamelCase } + - { key: readability-identifier-naming.ParameterCase, value: CamelCase } + - { key: readability-identifier-naming.MemberCase, value: CamelCase } # Constant - { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase } - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase } |
