This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add test for CWG191
ClosedPublic

Authored by Endill on Apr 4 2023, 6:34 AM.

Details

Reviewers
shafik
Group Reviewers
Restricted Project
Commits
rG653a82e95257: [clang] Add test for CWG191
Summary

Also mark CWG1200 as "na."

P1787: CWG191 and CWG1200 are resolved by defining unqualified lookup in terms of every enclosing scope.
Wording: If no declarations are found, the results of the unqualified search are the results of an unqualified search in the parent scope of S, if any, from P. ([basic.lookup.unqual]/2)

Diff Detail

Event Timeline

Endill created this revision.Apr 4 2023, 6:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 6:34 AM
Endill requested review of this revision.Apr 4 2023, 6:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 6:34 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Endill updated this revision to Diff 510793.Apr 4 2023, 7:01 AM
Endill edited the summary of this revision. (Show Details)

Mark CWG1200 as "na" and enable newer standard versions in RUN lines

shafik accepted this revision.Apr 4 2023, 11:53 AM
shafik added a subscriber: shafik.

LGTM

This revision is now accepted and ready to land.Apr 4 2023, 11:53 AM
This revision was automatically updated to reflect the committed changes.