riccibruno created this revision.
riccibruno added reviewers: aaron.ballman, jdoerfert, lebedev.ri, 
MyDeveloperDay.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83901

Files:
  clang/test/.clang-format


Index: clang/test/.clang-format
===================================================================
--- clang/test/.clang-format
+++ clang/test/.clang-format
@@ -1,2 +1,5 @@
 BasedOnStyle: LLVM
 ColumnLimit: 0
+AlignTrailingComments: false
+CommentPragmas: "(^ ?CHECK|^ ?expected-)"
+AlwaysBreakTemplateDeclarations: No


Index: clang/test/.clang-format
===================================================================
--- clang/test/.clang-format
+++ 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

Reply via email to