[clang] [clang][Parse] Improve diagnostics for '>>>' closing template parameter lists in CUDA. (PR #219638)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 30 22:17:41 PDT 2026
================
@@ -327,8 +327,8 @@ bool Parser::ParseTemplateParameters(
// Try to parse the template parameter list.
bool Failed = false;
- // FIXME: Missing greatergreatergreater support.
- if (!Tok.is(tok::greater) && !Tok.is(tok::greatergreater)) {
+ if (!Tok.is(tok::greater) && !Tok.is(tok::greatergreater) &&
+ !Tok.is(tok::greatergreatergreater)) {
----------------
zhangweize9-cyber wrote:
Add this situation to the unit test.
https://github.com/llvm/llvm-project/pull/219638
More information about the cfe-commits
mailing list