[clang] [clang-format] Fix template parsing regression for unspaced user-defi… (PR #210630)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 22 03:43:26 PDT 2026


================
@@ -26615,7 +26614,10 @@ TEST_F(FormatTest, UnbalancedAngleBrackets) {
 TEST_F(FormatTest, LambdaArrowAsTrailingReturnArrow) {
   verifyNoCrash("void foo()([] consteval -> int {}())");
 }
-
+TEST_F(FormatTest, FormatsUserDefinedLiteralTemplates) {
----------------
HazardyKnusperkeks wrote:

When we only change the TokenAnnotator, we should only have a new TokenAnnotatorTest, no FormattingTest.

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


More information about the cfe-commits mailing list