mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
### Description
Run clang-format in CI. Formatted all c/c++, objective-c/c++ files.
Excluded
```
'onnxruntime/core/mlas/**',
'onnxruntime/contrib_ops/cuda/bert/tensorrt_fused_multihead_attention/**',
```
because they contain assembly or is data heavy
### Motivation and Context
Coding style consistency
21 lines
743 B
YAML
21 lines
743 B
YAML
---
|
|
# Defaults for all languages.
|
|
BasedOnStyle: Google
|
|
|
|
# Setting ColumnLimit to 0 so developer choices about where to break lines are maintained.
|
|
# Developers are responsible for adhering to the 120 character maximum.
|
|
ColumnLimit: 0
|
|
SortIncludes: false
|
|
DerivePointerAlignment: false
|
|
|
|
# if you want to customize when working locally see https://clang.llvm.org/docs/ClangFormatStyleOptions.html for options.
|
|
# See ReformatSource.ps1 for a script to update all source according to the current options in this file.
|
|
# e.g. customizations to use Allman bracing and more indenting.
|
|
# AccessModifierOffset: -2
|
|
# BreakBeforeBraces: Allman
|
|
# CompactNamespaces: false
|
|
# IndentCaseLabels: true
|
|
# IndentWidth: 4
|
|
# NamespaceIndentation: All
|
|
|
|
...
|