This is an archive of the discontinued LLVM Phabricator instance.

[clang][C++20] P0960R3: Improves the diagnostic message
AbandonedPublic

Authored by 0x59616e on Jul 11 2022, 6:39 PM.

Details

Reviewers
None
Summary

This patch depends on D129531, which tries to improve the diagnostic message regarding P0960R3.

Diff Detail

Event Timeline

0x59616e created this revision.Jul 11 2022, 6:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2022, 6:39 PM
0x59616e retitled this revision from [WIP][clang][C++20] P0960R3: Improves the diagnostic message to [clang][C++20] P0960R3: Improves the diagnostic message.Jul 11 2022, 6:52 PM
0x59616e added a comment.EditedJul 11 2022, 6:56 PM

There're some test cases haven't be resolved. They're tested with multiple language option (C++98, C++17, C++20...) and due to the materialization of P0960R3, C++20 gives a different diagnostic message to the pre-C++20 ones. I don't know how to add predicate that can satisfy all of them at the same time, since I'm unfamiliar with the testing framework of clang.

Or maybe this is unacceptable ?

0x59616e abandoned this revision.Aug 16 2022, 5:45 PM