[libcxx-commits] [libcxx] [libc++][format] LWG4106: `basic_format_args` should not be default-constructible (PR #97250)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 5 06:17:14 PDT 2024
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 8598bcb9934dca16ea16d87304e00defc85d986c 3ee593e1f8a2b06cad6657edbe50e034c68d0965 -- libcxx/include/__format/format_args.h libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp b/libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
index 1c12c063e9..8043948341 100644
--- a/libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
+++ b/libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
@@ -81,7 +81,7 @@ void test_string_view(From value) {
template <class CharT>
void test() {
- using Context = std::basic_format_context<CharT*, CharT>;
+ using Context = std::basic_format_context<CharT*, CharT>;
using char_type = typename Context::char_type;
std::basic_string<char_type> empty;
std::basic_string<char_type> str = MAKE_STRING(char_type, "abc");
``````````
</details>
https://github.com/llvm/llvm-project/pull/97250
More information about the libcxx-commits
mailing list