[clang-tools-extra] [llvm] [clang] [libcxx] [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (PR #75259)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 17:32:53 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 12cbccc3125725fad00022a9b3a52ed9be69c3a3 141be9754313d239d5a0df61fa18935cd276b0b5 -- libcxx/include/__algorithm/fold.h libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/left_folds.pass.cpp libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/requirements.compile.pass.cpp libcxx/test/std/algorithms/algorithms.results/in_value_result.pass.cpp libcxx/test/support/invocable_with_telemetry.h libcxx/test/support/maths.h libcxx/include/algorithm libcxx/modules/std/algorithm.inc libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.verify.cpp libcxx/test/std/algorithms/algorithms.results/no_unique_address.compile.pass.cpp libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp libcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/borrowing.compile.pass.cpp libcxx/test/support/test_range.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/support/invocable_with_telemetry.h b/libcxx/test/support/invocable_with_telemetry.h
index 42c6b31a9b..bf271dbac0 100644
--- a/libcxx/test/support/invocable_with_telemetry.h
+++ b/libcxx/test/support/invocable_with_telemetry.h
@@ -77,7 +77,7 @@ public:
}
private:
- F f_ = F();
+ F f_ = F();
invocable_telemetry* telemetry_ = nullptr;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/75259
More information about the llvm-commits
mailing list