>
> C++ allows "typename" keywords with identifiers only. In this case compiler
> interpret identifier as type definition. Clang doesn't check for this case
> and crash.
> Please find the patch attached for review.


Could you simplify the test case from the bug & include it in the change? (&
the diagnostic message should probably use the word "typename" not "type
name" (since it refers to an identifier). You could also, potentially,
include a removal fixit to remove the typename token if you think that might
be the likely fix (seems to be in this case))

- David
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to