[clang] [clang-format] Add BreakAfterReturnType option to deprecate AlwaysBreakAfterReturnType. (PR #80827)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 22:10:13 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;
----------------
owenca wrote:
+1, but see https://github.com/llvm/llvm-project/pull/80827#issuecomment-1935386091.
https://github.com/llvm/llvm-project/pull/80827
More information about the cfe-commits
mailing list