diff --git a/clang/include/clang/Format/.clang-format b/clang/include/clang/Format/.clang-format index d7331b3c8cf02..f95602cab0f7f 100644 --- a/clang/include/clang/Format/.clang-format +++ b/clang/include/clang/Format/.clang-format @@ -1 +1,6 @@ -BasedOnStyle: clang-format +BasedOnStyle: LLVM +InsertBraces: true +InsertNewlineAtEOF: true +LineEnding: LF +RemoveBracesLLVM: true +RemoveParentheses: ReturnStatement diff --git a/clang/lib/Format/.clang-format b/clang/lib/Format/.clang-format index d7331b3c8cf02..f95602cab0f7f 100644 --- a/clang/lib/Format/.clang-format +++ b/clang/lib/Format/.clang-format @@ -1 +1,6 @@ -BasedOnStyle: clang-format +BasedOnStyle: LLVM +InsertBraces: true +InsertNewlineAtEOF: true +LineEnding: LF +RemoveBracesLLVM: true +RemoveParentheses: ReturnStatement diff --git a/clang/tools/clang-format/.clang-format b/clang/tools/clang-format/.clang-format index d7331b3c8cf02..f95602cab0f7f 100644 --- a/clang/tools/clang-format/.clang-format +++ b/clang/tools/clang-format/.clang-format @@ -1 +1,6 @@ -BasedOnStyle: clang-format +BasedOnStyle: LLVM +InsertBraces: true +InsertNewlineAtEOF: true +LineEnding: LF +RemoveBracesLLVM: true +RemoveParentheses: ReturnStatement diff --git a/clang/unittests/Format/.clang-format b/clang/unittests/Format/.clang-format index d7331b3c8cf02..f95602cab0f7f 100644 --- a/clang/unittests/Format/.clang-format +++ b/clang/unittests/Format/.clang-format @@ -1 +1,6 @@ -BasedOnStyle: clang-format +BasedOnStyle: LLVM +InsertBraces: true +InsertNewlineAtEOF: true +LineEnding: LF +RemoveBracesLLVM: true +RemoveParentheses: ReturnStatement