================
@@ -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:
I understand, but have you handled a certain boundary case? Another possibility
is that when version control tools encounter conflicts during local merging,
including rebase operations, they usually mark the conflicting areas with
prominent arrows in the source code. Do you handle this edge case?
If you have indeed considered this scenario, then I think this part is fine.
Because failing to handle this boundary case could lead to a compiler error.
https://github.com/llvm/llvm-project/pull/219638
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits