[cfe-commits] [clang] bugfux #10925 Segmentation fault on valid code

Stepan Dyatkovskiy STPWORLD at narod.ru
Tue Sep 20 11:48:00 PDT 2011


Hi,
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.

-- 
Truly yours,
Stepan Dyatkovskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugfix10925.patch
Type: application/octet-stream
Size: 1374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110920/ae55d03f/attachment.obj>


More information about the cfe-commits mailing list