[clang] Disable a few formatting options for test/
authorBruno Ricci <riccibrun@gmail.com>
Sun, 19 Jul 2020 15:53:59 +0000 (16:53 +0100)
committerBruno Ricci <riccibrun@gmail.com>
Sun, 19 Jul 2020 16:07:24 +0000 (17:07 +0100)
commit13316a77053514be552a0dad932e3455413b4f82
tree60a69b3e838724de47b7c8692240df405eb83057
parentd41d952be9773ad79fe2563074c612c1f810b83c
[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
clang/test/.clang-format