microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
.clang-tidy
30lines · modecode
| 1 | --- |
| 2 | # turn off readability-braces-around-statements to allow single line statement like 'if (x == y) doSomething();' |
| 3 | Checks: '-*,cppcoreguidelines-*,google-*,readability-*,modernize-*,-readability-braces-around-statements,-google-runtime-references,-cppcoreguidelines-pro-type-reinterpret-cast' |
| 4 | WarningsAsErrors: '' |
| 5 | HeaderFilterRegex: '.*onnxruntime\/core\/.*' |
| 6 | AnalyzeTemporaryDtors: false |
| 7 | FormatStyle: none |
| 8 | CheckOptions: |
| 9 | - key: google-readability-braces-around-statements.ShortStatementLines |
| 10 | value: '1' |
| 11 | - key: google-readability-function-size.StatementThreshold |
| 12 | value: '800' |
| 13 | - key: google-readability-namespace-comments.ShortNamespaceLines |
| 14 | value: '10' |
| 15 | - key: google-readability-namespace-comments.SpacesBeforeComments |
| 16 | value: '2' |
| 17 | - key: modernize-loop-convert.MaxCopySize |
| 18 | value: '16' |
| 19 | - key: modernize-loop-convert.MinConfidence |
| 20 | value: reasonable |
| 21 | - key: modernize-loop-convert.NamingStyle |
| 22 | value: CamelCase |
| 23 | - key: modernize-pass-by-value.IncludeStyle |
| 24 | value: google |
| 25 | - key: modernize-replace-auto-ptr.IncludeStyle |
| 26 | value: google |
| 27 | - key: modernize-use-nullptr.NullMacros |
| 28 | value: 'NULL' |
| 29 | ... |
| 30 | |
| 31 | |