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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to