[clang] [clang-format] TableGen multi line string support. (PR #78032)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 13 12:21:59 PST 2024
================
@@ -272,6 +274,14 @@ void FormatTokenLexer::tryMergePreviousTokens() {
return;
}
}
+ if (Style.isTableGen()) {
+ if (tryMergeTokens({tok::l_square, tok::l_brace},
----------------
HazardyKnusperkeks wrote:
```suggestion
if (Style.isTableGen() && tryMergeTokens({tok::l_square, tok::l_brace},
```
https://github.com/llvm/llvm-project/pull/78032
More information about the cfe-commits
mailing list