1 Star 2 Fork 1

ApolloAuto/application-pnc

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
.clang-format 1.97 KB
Copy Edit Raw Blame History
liangjinping authored 2023-08-01 17:03 +08:00 . chore: init project structure
---
BasedOnStyle: Google
---
Language: Cpp
Cpp11BracedListStyle: true
Standard: Cpp11
CommentPragmas: '^ NOLINT'
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignOperands: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializers: AfterColon
ColumnLimit: 120
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
DerivePointerAlignment: true
FixNamespaceComments: true
IndentCaseLabels: false
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 500
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 400
PointerAlignment: Left
SortIncludes: false
BreakBeforeBinaryOperators: true
# Mimic cpplint style
IncludeCategories:
# Note that the "main" header is priority 0
# The priority is assigned to first match in the ordered list
# Miscelaneous system libraries
- Regex: '<(immintrin.h|malloc.h|wait.h|x86intrin.h|cuda.*)>'
Priority: 3
# C standard libraries
- Regex: '<(arpa/|netinet/|net/if|sys/)?[^\./]*\.h>'
Priority: 1
# C++ standard libraries
- Regex: '<[^/\./]*>'
Priority: 2
# Experimental or other system libraries
- Regex: '<'
Priority: 3
# Test libs
- Regex: '"(gtest|gmock)/'
Priority: 4
# Protobuf Files
- Regex: '\.pb\.h'
Priority: 6
# Apollo libs
- Regex: '^"(cyber|modules)'
Priority: 7
# The rest
- Regex: '.*'
Priority: 5
---
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ApolloAuto/application-pnc.git
git@gitee.com:ApolloAuto/application-pnc.git
ApolloAuto
application-pnc
application-pnc
main

Search