Hi,
Please find the fixed patch.
Regards,
Stepan
20.09.2011, 22:59, "David Blaikie" <[email protected]>:
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
bugfix10925.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
