[LLVMbugs] [Bug 20198] New: Clang-format does not handle expressions with multiple & well
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 3 08:18:56 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20198
Bug ID: 20198
Summary: Clang-format does not handle expressions with multiple
& well
Product: new-bugs
Version: 3.4
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: schnetter at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang-format formats code like this:
{{{
#include <header.hh>
template <typename Archive> void serialize(Archive &ar, unsigned int version) {
ar &x &y;
}
}}}
Note how the "&" operators are formatted. These are binary "&" operators, not
unary address-of operators, and should be surrounded by white space in a
symmetric manner.
--
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/20140703/bac3821c/attachment.html>
More information about the llvm-bugs
mailing list