[clang] [clang-format] Add BreakAfterReturnType option to deprecate AlwaysBreakAfterReturnType. (PR #80827)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 12:14:18 PST 2024
================
@@ -1010,7 +1010,8 @@ struct FormatStyle {
/// \version 3.7
DefinitionReturnTypeBreakingStyle AlwaysBreakAfterDefinitionReturnType;
- /// The function declaration return type breaking style to use.
+ /// The function declaration return type breaking style to use. This
+ /// option is **deprecated** and is retained for backwards compatibility.
/// \version 3.8
ReturnTypeBreakingStyle AlwaysBreakAfterReturnType;
----------------
HazardyKnusperkeks wrote:
The actual member has to go.
https://github.com/llvm/llvm-project/pull/80827
More information about the cfe-commits
mailing list