-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move options into .clang-tidy and update build
Code doesn't get compiled so skip linking stage.
- Loading branch information
mikee47
committed
Apr 19, 2024
1 parent
07c1a71
commit 66a1dc3
Showing
2 changed files
with
45 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,43 @@ | ||
--- | ||
Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*' | ||
HeaderFilterRegex: '' | ||
Checks: > | ||
-* | ||
cppcoreguidelines-* | ||
-cppcoreguidelines-avoid-c-arrays | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay | ||
-cppcoreguidelines-macro-usage | ||
-cppcoreguidelines-pro-type-cstyle-cast | ||
-cppcoreguidelines-pro-type-static-cast-downcast | ||
-cppcoreguidelines-pro-type-vararg | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic | ||
-cppcoreguidelines-pro-type-union-access | ||
-cppcoreguidelines-avoid-const-or-ref-data-members | ||
-cppcoreguidelines-non-private-member-variables-in-classes | ||
-cppcoreguidelines-special-member-functions | ||
HeaderFilterRegex: '.*' | ||
AnalyzeTemporaryDtors: false | ||
User: slavey | ||
User: slavey | ||
CheckOptions: | ||
- key: google-readability-braces-around-statements.ShortStatementLines | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: llvm | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: llvm | ||
- key: modernize-use-nullptr.NullMacros | ||
value: 'NULL' | ||
- key: google-readability-braces-around-statements.ShortStatementLines | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: llvm | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: llvm | ||
- key: cppcoreguidelines-pro-type-static-cast-downcast.StrictMode | ||
value: false | ||
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors | ||
value: true | ||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters