From d83677176c2972edbf0c772673bd9f4748550c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Gr=C3=A4sman?= Date: Wed, 4 Jan 2023 11:00:35 +0100 Subject: [PATCH] Add '// IWYU:' to known clang-format comment pragmas This makes sure formatting doesn't line-wrap diagnostic checks in tests. --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index afd9018..e993064 100644 --- a/.clang-format +++ b/.clang-format @@ -4,5 +4,6 @@ AllowShortIfStatementsOnASingleLine: false AllowShortFunctionsOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortLoopsOnASingleLine: false +CommentPragmas: '^ IWYU:' SortIncludes: false SortUsingDeclarations: false