onnxruntime

Форк
0
/
.clang-tidy 
60 строк · 2.1 Кб
1
---
2

3
# NOTE:
4
#     The check is a multiline string here. Comment must not be moved into the string.
5
#     Be sure to keep the disabled rules alphabetically sorted.
6
#
7
# Checks that are turned off:
8
#
9
# -cppcoreguidelines-macro-usage: There are a lot of false-positives like Function-like macro 'Foo' used; consider a 'constexpr' template function
10
# -cppcoreguidelines-pro-type-reinterpret-cast: Originally turned off.
11
# -google-readability-todo: Not enforced.
12
# -google-runtime-references: https://github.com/microsoft/onnxruntime/blob/main/docs/Coding_Conventions_and_Standards.md#c-code-style.
13
# -modernize-concat-nested-namespaces: We don't use it.
14
# -modernize-use-trailing-return-type: Stylistic preference we do not enforce.
15
# -readability-identifier-length: A lot of numerical code rely on short names to improve readability.
16
# -readability-uppercase-literal-suffix: We accept lowercase suffixes
17

18
Checks: >
19
  -*,
20
  cppcoreguidelines-*,
21
  google-*,
22
  readability-*,
23
  modernize-*,
24
  bugprone-*,
25
  performance-*,
26
  misc-*,
27
  -cppcoreguidelines-macro-usage,
28
  -cppcoreguidelines-pro-type-reinterpret-cast,
29
  -google-readability-todo,
30
  -google-runtime-references,
31
  -modernize-concat-nested-namespaces,
32
  -modernize-use-trailing-return-type,
33
  -readability-identifier-length,
34
  -readability-uppercase-literal-suffix,
35
WarningsAsErrors: ""
36
HeaderFilterRegex: '.*onnxruntime\/core\/.*'
37
AnalyzeTemporaryDtors: false
38
FormatStyle: none
39
CheckOptions:
40
  - key: google-readability-braces-around-statements.ShortStatementLines
41
    value: "1"
42
  - key: google-readability-function-size.StatementThreshold
43
    value: "800"
44
  - key: google-readability-namespace-comments.ShortNamespaceLines
45
    value: "10"
46
  - key: google-readability-namespace-comments.SpacesBeforeComments
47
    value: "2"
48
  - key: modernize-loop-convert.MaxCopySize
49
    value: "16"
50
  - key: modernize-loop-convert.MinConfidence
51
    value: reasonable
52
  - key: modernize-loop-convert.NamingStyle
53
    value: CamelCase
54
  - key: modernize-pass-by-value.IncludeStyle
55
    value: google
56
  - key: modernize-replace-auto-ptr.IncludeStyle
57
    value: google
58
  - key: modernize-use-nullptr.NullMacros
59
    value: "NULL"
60
---
61

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.