This is an archive of the discontinued LLVM Phabricator instance.

[clang] NFC: include non friendly types and missing sugar in test expectations
ClosedPublic

Authored by mizvekov on Sep 21 2021, 5:54 PM.

Details

Summary

The dump of all diagnostics of all tests under clang/test/{CXX,SemaCXX,SemaTemplate} was analyzed , and all the cases where there were obviously bad canonical types being printed, like type-parameter-*-* and <overloaded function type> were identified. Also a small amount of cases of missing sugar were analyzed.

This patch then spells those explicitly in the test expectations, as preparatory work for future fixes for these problems.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Diff Detail

Event Timeline

mizvekov created this revision.Sep 21 2021, 5:54 PM
mizvekov edited the summary of this revision. (Show Details)Sep 21 2021, 6:18 PM
mizvekov published this revision for review.Sep 21 2021, 6:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2021, 6:20 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
v.g.vassilev added subscribers: rsmith, v.g.vassilev.

These changes will enable progress on https://reviews.llvm.org/D110216 They lgtm but let's hear from @rsmith.

rsmith accepted this revision.Oct 27 2021, 1:47 PM
This revision is now accepted and ready to land.Oct 27 2021, 1:47 PM