[llvm-bugs] [Bug 25204] New: AlignConsecutiveAssignments + AlignConsecutiveDeclarations gives strange result
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 16 08:16:21 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25204
Bug ID: 25204
Summary: AlignConsecutiveAssignments +
AlignConsecutiveDeclarations gives strange result
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: jvapen at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15087
--> https://llvm.org/bugs/attachment.cgi?id=15087&action=edit
Reproduction: Config, input (t.h) and output (out.h)
AlignConsecutiveAssignments + AlignConsecutiveDeclarations configuration
converts following code incorrectly:
void evaluate(const std::string &output,
const std::string &reference,
Outer::SomeClass::Result &result,
std::ostream &err) const;
into
void evaluate(const std::string &output,
const std::string & reference,
Outer::SomeClass::Result &result,
std::ostream &err) const;
Complete reproduction is in attachment
--
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/20151016/783b4778/attachment.html>
More information about the llvm-bugs
mailing list