[LLVMbugs] [Bug 15017] New: bad fixit adding ; after struct definition in type specifier
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 21 02:44:58 PST 2013
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: unassignedclangbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list