https://llvm.org/bugs/show_bug.cgi?id=25359
Bug ID: 25359 Summary: Feature request: separate ReferenceAlignment setting Product: clang Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: m-l...@bodyfour.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified There is a setting PointerAlignment which currently applies to both pointers and C++ references. In my code, I prefer to align them differently so they stand out more: extern int foo(int *x); extern int foo(int& x); I wish there was a way to configure clang-format to format code like this. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs