https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/81591
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca approved this pull request.
https://github.com/llvm/llvm-project/pull/81591
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1130,14 +1129,13 @@ template <> struct MappingTraits {
// AlwaysBreakAfterReturnType was not, initialize the latter from the
// former for backwards compatibility.
rmarker wrote:
Done.
https://github.com/llvm/llvm-project/pull/81591
https://github.com/rmarker updated
https://github.com/llvm/llvm-project/pull/81591
>From a40215e93b3d27f77d9e5f7ff38883ab1d4fde9a Mon Sep 17 00:00:00 2001
From: rmarker
Date: Tue, 13 Feb 2024 21:09:57 +1030
Subject: [PATCH 1/3] [clang-format][NFC] Drop "Always" in
@@ -1871,10 +1869,10 @@ FormatStyle getWebKitStyle() {
FormatStyle getGNUStyle() {
FormatStyle Style = getLLVMStyle();
Style.AlwaysBreakAfterDefinitionReturnType = FormatStyle::DRTBS_All;
- Style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_AllDefinitions;
https://github.com/rmarker updated
https://github.com/llvm/llvm-project/pull/81591
>From a40215e93b3d27f77d9e5f7ff38883ab1d4fde9a Mon Sep 17 00:00:00 2001
From: rmarker
Date: Tue, 13 Feb 2024 21:09:57 +1030
Subject: [PATCH 1/2] [clang-format][NFC] Drop "Always" in
@@ -1130,14 +1129,13 @@ template <> struct MappingTraits {
// AlwaysBreakAfterReturnType was not, initialize the latter from the
// former for backwards compatibility.
owenca wrote:
```suggestion
// BreakAfterReturnType was not, initialize the
@@ -1871,10 +1869,10 @@ FormatStyle getWebKitStyle() {
FormatStyle getGNUStyle() {
FormatStyle Style = getLLVMStyle();
Style.AlwaysBreakAfterDefinitionReturnType = FormatStyle::DRTBS_All;
- Style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_AllDefinitions;
rmarker wrote:
@owenca, here is a pull request to complete the renaming of the option.
Following on from #80827, in the style of
[7664ddf](https://github.com/llvm/llvm-project/commit/7664ddf8811242295abb837640cad8dd8cefb5e8).
https://github.com/llvm/llvm-project/pull/81591
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (rmarker)
Changes
Complete the switch from "AlwaysBreakAfterReturnType" to "BreakAfterReturnType".
---
Full diff: https://github.com/llvm/llvm-project/pull/81591.diff
8 Files Affected:
- (modified)
https://github.com/rmarker created
https://github.com/llvm/llvm-project/pull/81591
Complete the switch from "AlwaysBreakAfterReturnType" to "BreakAfterReturnType".
>From a40215e93b3d27f77d9e5f7ff38883ab1d4fde9a Mon Sep 17 00:00:00 2001
From: rmarker
Date: Tue, 13 Feb 2024 21:09:57 +1030
11 matches
Mail list logo