[PATCH] D116283: [clang-format] Add an option to add a space between operator overloading and opening parentheses

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 28 10:51:19 PST 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:3755
 
+  * ``bool AfterOperatorOverloading`` If ``true``, put a space between operator overloading and opening parentheses.
+
----------------
curdeius wrote:
> I'm not fond of the current name, exactly the "Overloading" part (but have no better suggestion right now). It seems a bit misleading to me.
> 
> Maybe AfterOverloadedOperator(Name)??? At least it would match the token kind name.
+1 here,  AfterOperator?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116283/new/

https://reviews.llvm.org/D116283



More information about the cfe-commits mailing list