Skip to content

Commit 07af31f

Browse files
committed
Refine clang-format for Paddle style
1 parent 836d613 commit 07af31f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.clang-format

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@
1313
# The document of clang-format is
1414
# http://clang.llvm.org/docs/ClangFormat.html
1515
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
16-
#
17-
# TODO(yuyang18): Add python and other language code style
1816
---
1917
Language: Cpp
2018
BasedOnStyle: Google
2119
IndentWidth: 2
2220
TabWidth: 2
2321
ContinuationIndentWidth: 4
2422
AccessModifierOffset: -2 # The private/protected/public has no indent in class
25-
PointerAlignment: Left # int* p/int& p, not int *p/int &p
2623
Standard: Cpp11
2724
AllowAllParametersOfDeclarationOnNextLine: true
25+
BinPackParameters: false
26+
BinPackArguments: false
2827
...
2928

0 commit comments

Comments
 (0)