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
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D9023... Seraphime Kirkovski (VMware) via Phabricator via cfe-commits
    • [PATCH] ... MyDeveloperDay via Phabricator via cfe-commits
    • [PATCH] ... Seraphime Kirkovski (VMware) via Phabricator via cfe-commits
    • [PATCH] ... Björn Schäpers via Phabricator via cfe-commits
    • [PATCH] ... MyDeveloperDay via Phabricator via cfe-commits
    • [PATCH] ... Andrew Somerville via Phabricator via cfe-commits

Reply via email to