[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 20 16:03:25 PDT 2025
================
@@ -10937,12 +10945,6 @@ TEST_F(FormatTest, WrapsTemplateDeclarations) {
Style);
Style.RequiresClausePosition = FormatStyle::RCPS_WithPreceding;
- verifyNoChange("template <auto x>\n"
- "requires(x > 1)\n"
- "constexpr int with_req(int) {\n"
- " return 1;\n"
- "}",
- Style);
----------------
owenca wrote:
This test is for `BTDS_Leave`. You can't just change/delete it.
https://github.com/llvm/llvm-project/pull/159277
More information about the cfe-commits
mailing list