[libcxx-commits] [libcxx] [libc++] Add default copy ctor to "__chrono/exception.h" (PR #95338)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 12 17:42:30 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 148417bfaadf3c4c36074f3232ba6938dd6cbc61 1fa66f7099ca90e01f2cb78c6d63dd1dde31ed7b -- libcxx/include/__chrono/exception.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__chrono/exception.h b/libcxx/include/__chrono/exception.h
index 28ed9ac6ba..fe3619ca22 100644
--- a/libcxx/include/__chrono/exception.h
+++ b/libcxx/include/__chrono/exception.h
@@ -48,7 +48,7 @@ public:
"creating an nonexistent_local_time from a local_info that is not non-existent");
}
- nonexistent_local_time(const nonexistent_local_time&) = default;
+ nonexistent_local_time(const nonexistent_local_time&) = default;
nonexistent_local_time& operator=(const nonexistent_local_time&) = default;
_LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI ~nonexistent_local_time() override; // exported as key function
@@ -92,7 +92,7 @@ public:
"creating an ambiguous_local_time from a local_info that is not ambiguous");
}
- ambiguous_local_time(const ambiguous_local_time&) = default;
+ ambiguous_local_time(const ambiguous_local_time&) = default;
ambiguous_local_time& operator=(const ambiguous_local_time&) = default;
_LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI ~ambiguous_local_time() override; // exported as key function
``````````
</details>
https://github.com/llvm/llvm-project/pull/95338
More information about the libcxx-commits
mailing list