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

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 28 10:34:10 PST 2021


curdeius added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:3755
 
+  * ``bool AfterOperatorOverloading`` If ``true``, put a space between operator overloading and opening parentheses.
+
----------------
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.


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