[llvm-bugs] [Bug 25323] New: C++ only keywords result in misformatted C code
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 26 11:33:01 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25323
Bug ID: 25323
Summary: C++ only keywords result in misformatted C code
Product: clang
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: sstewartgallus00 at mylangara.bc.ca
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
See for example,
struct private {
int private;
};
int main(void)
{
struct private private = {0};
private.private = 1;
return private;
}
which becomes:
struct private {
int private;
};
int main(void) {
struct private private = {0};
private
.private = 1;
return private;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151026/ea080e47/attachment.html>
More information about the llvm-bugs
mailing list