This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add test for CWG1837
ClosedPublic

Authored by Endill on Apr 11 2023, 11:52 AM.

Details

Reviewers
erichkeane
Group Reviewers
Restricted Project
Commits
rGaa7aedd8ea3f: [clang] Add test for CWG1837
Summary

P1787: CWG1837 is resolved by restricting this to referring to the innermost enclosing class.
Wording: see changes to [expr.prim.this] and [expr.prim.lambda].

Diff Detail

Event Timeline

Endill created this revision.Apr 11 2023, 11:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2023, 11:52 AM
Endill requested review of this revision.Apr 11 2023, 11:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2023, 11:52 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Endill updated this revision to Diff 512538.Apr 11 2023, 11:58 AM

minor fix

Endill edited the summary of this revision. (Show Details)Apr 11 2023, 11:58 AM
erichkeane accepted this revision.Apr 11 2023, 12:01 PM
erichkeane added a subscriber: erichkeane.

This seems right based on the paper listed/standardeeze. Thanks!

This revision is now accepted and ready to land.Apr 11 2023, 12:01 PM
This revision was landed with ongoing or failed builds.Apr 11 2023, 12:15 PM
This revision was automatically updated to reflect the committed changes.