This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add test for CWG255
ClosedPublic

Authored by Endill on Apr 4 2023, 10:56 AM.

Details

Reviewers
cor3ntin
Group Reviewers
Restricted Project
Commits
rG33e84315e7d6: [clang] Add test for CWG255
Summary

P1787: CWG255 (partially resolved by N3778 is resolved by generally specifying the restriction to usual deallocation functions.
Wording: In any case, any declarations other than of usual deallocation functions ([basic.stc.dynamic.deallocation]) are discarded. ([expr.delete]/9)

Diff Detail

Event Timeline

Endill created this revision.Apr 4 2023, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 10:56 AM
Endill requested review of this revision.Apr 4 2023, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 10:56 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
cor3ntin accepted this revision.Apr 6 2023, 8:40 AM
cor3ntin added a subscriber: cor3ntin.

LGTM

This revision is now accepted and ready to land.Apr 6 2023, 8:40 AM
This revision was automatically updated to reflect the committed changes.