onnxruntime
/
.clang-format
24 строки · 919.0 Байт
1---
2# Defaults for all languages.
3BasedOnStyle: Google
4
5# Setting ColumnLimit to 0 so developer choices about where to break lines are maintained.
6# Developers are responsible for adhering to the 120 character maximum.
7ColumnLimit: 0
8SortIncludes: false
9DerivePointerAlignment: false
10# Avoid adding spaces between tokens in GSL_SUPPRESS arguments.
11# E.g., don't change "GSL_SUPPRESS(r.11)" to "GSL_SUPPRESS(r .11)".
12WhitespaceSensitiveMacros: ["GSL_SUPPRESS"]
13
14# if you want to customize when working locally see https://clang.llvm.org/docs/ClangFormatStyleOptions.html for options.
15# See ReformatSource.ps1 for a script to update all source according to the current options in this file.
16# e.g. customizations to use Allman bracing and more indenting.
17# AccessModifierOffset: -2
18# BreakBeforeBraces: Allman
19# CompactNamespaces: false
20# IndentCaseLabels: true
21# IndentWidth: 4
22# NamespaceIndentation: All
23
24...
25