[libcxx-commits] [libcxx] e0df5f8 - [libc++][NFC] Remove comments incorrectly added in #151935.
Corentin Jabot via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 5 02:03:16 PDT 2025
Author: Corentin Jabot
Date: 2025-08-05T11:03:00+02:00
New Revision: e0df5f8c1abda78eb294b43bb8bf5c91ca3268a8
URL: https://github.com/llvm/llvm-project/commit/e0df5f8c1abda78eb294b43bb8bf5c91ca3268a8
DIFF: https://github.com/llvm/llvm-project/commit/e0df5f8c1abda78eb294b43bb8bf5c91ca3268a8.diff
LOG: [libc++][NFC] Remove comments incorrectly added in #151935.
Added:
Modified:
libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp b/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
index 9a8f067c04a5b..1a2d080d10c3c 100644
--- a/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
+++ b/libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
@@ -95,7 +95,6 @@ void test() {
std::expected<int, CopyConstructibleButNotMoveConstructible> e;
[[maybe_unused]] auto val = std::move(e).value();
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
- // The following diagnostic is emmitted in expected.h:
}
}
@@ -119,7 +118,6 @@ void test() {
const std::expected<int, CopyConstructibleButNotMoveConstructible> e;
[[maybe_unused]] auto val = std::move(e).value();
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
- // The following diagnostic is emmitted in expected.h:
}
}
// These diagnostics happen when we try to construct bad_expected_access from the non copy-constructible error type.
More information about the libcxx-commits
mailing list