[clang] [clang-format] Harden star and amp annotation (PR #212856)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 22:16:47 PDT 2026


================
@@ -2799,10 +2803,21 @@ bool UnwrappedLineParser::parseParens(TokenType StarAndAmpTokenType,
     case tok::kw_requires:
       parseRequiresExpression();
       break;
+    case tok::less:
+      // We have here no clue wether this is a less, or a template opener, opt
----------------
owenca wrote:

```suggestion
      // We have here no clue whether this is a less, or a template opener, opt
```

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


More information about the cfe-commits mailing list