This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add test for CWG607
ClosedPublic

Authored by Endill on Apr 4 2023, 11:49 PM.

Details

Reviewers
shafik
Group Reviewers
Restricted Project
Commits
rG4b0386940255: [clang] Add test for CWG607
Summary

P1787: CWG607 is resolved by looking up unqualified names in a mem-initializer-id from outside the parameter scope.
Wording: Lookup for an unqualified name in a mem-initializer-id ignores the constructor’s function parameter scope. ([class.base.init]/2)

Diff Detail

Event Timeline

Endill created this revision.Apr 4 2023, 11:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 11:49 PM
Endill requested review of this revision.Apr 4 2023, 11:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 11:49 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
shafik accepted this revision.Apr 5 2023, 6:46 PM
shafik added a subscriber: shafik.

Thank you for working on these DRs, LGTM

This revision is now accepted and ready to land.Apr 5 2023, 6:46 PM
This revision was landed with ongoing or failed builds.Apr 7 2023, 7:40 AM
This revision was automatically updated to reflect the committed changes.