From 7b5bddfd034ef42c92c67731743399df844d5f43 Mon Sep 17 00:00:00 2001 From: Bruno Ricci Date: Tue, 21 Jul 2020 14:43:48 +0100 Subject: [PATCH] [clang] Partially revert "Disable a few formatting options for test/" The changes to "AlignTrailingComments" and "CommentPragmas" did not result in what I expected (just leave the special comments alone). Instead now the following: void test() { int i; // expected-error // expected-warning } is formatted into: void test() { int i; // expected-error // expected-warning } which is even worse. --- clang/test/.clang-format | 2 -- 1 file changed, 2 deletions(-) diff --git a/clang/test/.clang-format b/clang/test/.clang-format index a6176c2..f7fb083 100644 --- a/clang/test/.clang-format +++ b/clang/test/.clang-format @@ -1,5 +1,3 @@ BasedOnStyle: LLVM ColumnLimit: 0 -AlignTrailingComments: false -CommentPragmas: "(^ ?CHECK|^ ?expected-)" AlwaysBreakTemplateDeclarations: No -- 2.7.4