-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[libc++][Clang] Added explanation why is_constructible evaluated to false. Updated the diagnostics checks in libc++ tests. #144220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
30935f3
9c9a32d
eeb8d3d
183c919
857c4d5
d5be40c
6d4730e
3240186
ee64030
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,7 @@ void test() { | |
| // expected-error-re@*:* {{static assertion failed {{.*}}The result of f(value()) must be a specialization of std::expected}} | ||
| // expected-error-re@*:* {{{{.*}}cannot be used prior to '::' because it has no members}} | ||
| // expected-error-re@*:* {{no matching constructor for initialization of{{.*}}}} | ||
| // expected-error@*:* {{excess elements in struct initializer}} | ||
|
||
| } | ||
|
|
||
| // !std::is_same_v<U:error_type, E> | ||
|
|
@@ -74,6 +75,7 @@ void test() { | |
| // expected-error-re@*:* {{static assertion failed {{.*}}The result of f(value()) must be a specialization of std::expected}} | ||
| // expected-error-re@*:* {{{{.*}}cannot be used prior to '::' because it has no members}} | ||
| // expected-error-re@*:* {{no matching constructor for initialization of{{.*}}}} | ||
| // expected-error@*:* {{excess elements in struct initializer}} | ||
| } | ||
|
|
||
| // !std::is_same_v<U:error_type, E> | ||
|
|
@@ -94,6 +96,7 @@ void test() { | |
| // expected-error-re@*:* {{static assertion failed {{.*}}The result of f(std::move(value())) must be a specialization of std::expected}} | ||
| // expected-error-re@*:* {{{{.*}}cannot be used prior to '::' because it has no members}} | ||
| // expected-error-re@*:* {{no matching constructor for initialization of{{.*}}}} | ||
| // expected-error@*:* {{excess elements in struct initializer}} | ||
| } | ||
|
|
||
| // !std::is_same_v<U:error_type, E> | ||
|
|
@@ -113,6 +116,7 @@ void test() { | |
| // expected-error-re@*:* {{static assertion failed {{.*}}The result of f(std::move(value())) must be a specialization of std::expected}} | ||
| // expected-error-re@*:* {{{{.*}}cannot be used prior to '::' because it has no members}} | ||
| // expected-error-re@*:* {{no matching constructor for initialization of{{.*}}}} | ||
| // expected-error@*:* {{excess elements in struct initializer}} | ||
| } | ||
|
|
||
| // !std::is_same_v<U:error_type, E> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is no longer used in the latest version of the patch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, removed