[clang] [clang-format] Add SpaceAfterOperatorKeyword option (PR #137610)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 28 12:15:06 PDT 2025
================
@@ -4471,6 +4471,14 @@ struct FormatStyle {
/// \version 4
bool SpaceAfterTemplateKeyword;
+ /// If \c true, a space will be inserted after the ``operator`` keyword.
+ /// \code
+ /// true: false:
+ /// bool operator == (int a) vs. bool operator== (int a)
+ /// \endcode
+ /// \version 22
+ bool SpaceAfterOperatorKeyword;
----------------
HazardyKnusperkeks wrote:
Please sort, O comes before T.
https://github.com/llvm/llvm-project/pull/137610
More information about the cfe-commits
mailing list