Author: Bruno Ricci Date: 2020-07-19T17:07:24+01:00 New Revision: 13316a77053514be552a0dad932e3455413b4f82
URL: https://github.com/llvm/llvm-project/commit/13316a77053514be552a0dad932e3455413b4f82 DIFF: https://github.com/llvm/llvm-project/commit/13316a77053514be552a0dad932e3455413b4f82.diff LOG: [clang] Disable a few formatting options for test/ Hopefully this will make the bot a little less noisy. Rationale for each: AlignTrailingComments: We don't want to force-align the various expected-error and friends. CommentPragmas: Tell clang-format to leave the "// CHECK:" and the "// expected-" alone. AlwaysBreakTemplateDeclarations: Templates in tests often have no break between the template-head and the declaration. Differential Revision: https://reviews.llvm.org/D83901 Added: Modified: clang/test/.clang-format Removed: ################################################################################ diff --git a/clang/test/.clang-format b/clang/test/.clang-format index 4799b66f3e9a..a6176c2e0013 100644 --- a/clang/test/.clang-format +++ b/clang/test/.clang-format @@ -1,2 +1,5 @@ BasedOnStyle: LLVM ColumnLimit: 0 +AlignTrailingComments: false +CommentPragmas: "(^ ?CHECK|^ ?expected-)" +AlwaysBreakTemplateDeclarations: No _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits