[LLVMbugs] [Bug 13711] New: Structures are not prettyPrinted correctly in some cases
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 27 14:22:22 PDT 2012
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: unassignedclangbugs at nondot.org
ReportedBy: grzejabl at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list