http://llvm.org/bugs/show_bug.cgi?id=15017
Bug #: 15017
Summary: bad fixit adding ; after struct definition in type
specifier
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
$ llvm-commit/Debug+Asserts/bin/clang a.cc -std=gnu++11
a.cc:1:42: error: expected ';' after struct
template<typename T = struct X { int i; }> struct S {};
^
;
No, adding a ; there really isn't going to help:
a.cc:1:42: error: expected ',' or '>' in template-parameter-list
template<typename T = struct X { int i; };> struct S {};
^
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs