http://llvm.org/bugs/show_bug.cgi?id=13711
Bug #: 13711
Summary: Structures are not prettyPrinted correctly in some
cases
Product: clang
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9118
--> http://llvm.org/bugs/attachment.cgi?id=9118
Patch to TypePrinter.cpp
The following declaration:
struct {int a;} ss;
after parsing is pretty-printed as
struct {int a;} struct ss;
I attach a patch that seems to fix this problem, however I am not sure if it
does not break something else.
Regards,
Grzegorz
--
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