[clang] [clang-format] TableGen multi line string support. (PR #78032)

Hirofumi Nakamura via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 21:33:22 PST 2024


================
@@ -272,6 +274,14 @@ void FormatTokenLexer::tryMergePreviousTokens() {
       return;
     }
   }
+  if (Style.isTableGen()) {
+    if (tryMergeTokens({tok::l_square, tok::l_brace},
----------------
hnakamura5 wrote:

Followed this suggestion.

https://github.com/llvm/llvm-project/pull/78032


More information about the cfe-commits mailing list