================ @@ -275,13 +275,36 @@ struct FormatStyle { /// bbb >>= 2; /// \endcode bool PadOperators; + /// Only for ``AlignConsecutiveDeclarations``. Whether block comments + /// are aligned in declarations. + /// \code + /// true: + /// someLongFunction(int /*a*/, + /// bool b, + /// const std::string& c) + /// + /// const bool ret = someLongFunction(4 /*a*/, + /// true /*b*/, + /// str /*c*/); + /// + /// false: + /// someLongFunction(int /*a*/, + /// bool b, + /// const std::string& c) + /// + /// const bool ret = someLongFunction(4 /*a*/, + /// true /*b*/, + /// str /*c*/); + /// \endcode + bool AlignBlockComments; ---------------- owenca wrote:
Please move it up to just before `AlignCompound`. https://github.com/llvm/llvm-project/pull/109497 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits