rjmccall wrote:

> @rjmccall -- do you have ideas on how we can trigger the issue here or do you 
> think this code can be removed?

I wouldn't be surprised either way — tentative parsing often contains code that 
feels like it ought to be redundant, but it also often takes strange paths in 
strange situations.

You might try writing `ident<ident>` in something like the parameter clause of 
a local function declaration, where ObjC++ will have to disambiguate it from a 
direct initialization but where the parser will enter tentative parsing without 
`ident<ident>` being the immediately following token.

https://github.com/llvm/llvm-project/pull/95917
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to