Skip to content

Commit c69ec70

Browse files
committed
[clang-format][NFC] Don't use clang-format style in config files
The current CI doesn't use the latest clang-format and fails most clang-format patches on the code formatting check. This patch temporarily removes the clang-format style from the .clang-format files.
1 parent d0918a2 commit c69ec70

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
BasedOnStyle: clang-format
1+
BasedOnStyle: LLVM
2+
InsertBraces: true
3+
InsertNewlineAtEOF: true
4+
LineEnding: LF
5+
RemoveBracesLLVM: true
6+
RemoveParentheses: ReturnStatement

clang/lib/Format/.clang-format

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
BasedOnStyle: clang-format
1+
BasedOnStyle: LLVM
2+
InsertBraces: true
3+
InsertNewlineAtEOF: true
4+
LineEnding: LF
5+
RemoveBracesLLVM: true
6+
RemoveParentheses: ReturnStatement
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
BasedOnStyle: clang-format
1+
BasedOnStyle: LLVM
2+
InsertBraces: true
3+
InsertNewlineAtEOF: true
4+
LineEnding: LF
5+
RemoveBracesLLVM: true
6+
RemoveParentheses: ReturnStatement

clang/unittests/Format/.clang-format

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
BasedOnStyle: clang-format
1+
BasedOnStyle: LLVM
2+
InsertBraces: true
3+
InsertNewlineAtEOF: true
4+
LineEnding: LF
5+
RemoveBracesLLVM: true
6+
RemoveParentheses: ReturnStatement

0 commit comments

Comments
 (0)