HazardyKnusperkeks added a comment.
I think this would be a nice addition, and in the past I would have used it. I
really like the option `Pointer`.
If this will be pursued I will be happy to review it.
================
Comment at: clang/unittests/Format/FormatTest.cpp:895
+ verifyFormat("int* a = f1();\nint& b = f2();\nint&& c = f3();", Style);
+ Style.PointerAlignment = FormatStyle::PAS_Right;
+ Style.ReferenceAlignment = FormatStyle::RAS_Pointer;
----------------
I would really like an empty line before changing the style, that way it is
more obvious.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90238/new/
https://reviews.llvm.org/D90238
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits