[libcxx-commits] [libcxx] [libc++] Add a %{verify} substitution (PR #70878)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 1 07:59:17 PDT 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 604eff60abfce09f956c3b0b1414f8d0d04b5d47 0cc8b182d43d0bf2960495da5d0586ae62c30ea0 -- libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp b/libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp
index ec60b7fcb618..d1713b44a086 100644
--- a/libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp
+++ b/libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp
@@ -12,5 +12,5 @@
 
 // RUN: %{verify}
 
-struct Foo { };
+struct Foo {};
 typedef Foo::x x; // expected-error {{no type named 'x' in 'Foo'}}

``````````

</details>


https://github.com/llvm/llvm-project/pull/70878


More information about the libcxx-commits mailing list