[llvm-branch-commits] [clang] release/23.x: [clang-format] Harden star and amp annotation (#212856) (PR #216554)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Aug 23 12:16:09 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/216554


More information about the llvm-branch-commits mailing list