P1787: "CWG360 is resolved by applying access control to using-declarations."
class.access.general#4: "When a using-declarator is named, access control is applied to it, not to the declarations that replace it."
Details
- Reviewers
aaron.ballman - Group Reviewers
Restricted Project - Commits
- rG3f950ad58919: [clang] Add test for CWG360
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/CXX/drs/dr3xx.cpp | ||
---|---|---|
908 | This bookmark isn't necessary, so no reason to have it. But thank you for using these! |
clang/test/CXX/drs/dr3xx.cpp | ||
---|---|---|
908 | Nice catch, thank you! |
clang/test/CXX/drs/dr3xx.cpp | ||
---|---|---|
908 | Good catch Erich! Feel free to fix the comment up with an NFC commit (you don't need anyone to review it because there's no functional change). |
clang/test/CXX/drs/dr3xx.cpp | ||
---|---|---|
908 | Don't worry about it, this is a trivial issue I just saw while scrolling/admiring the bookmarks :D a follow-up review-after-commit patch would be fine here. |
This bookmark isn't necessary, so no reason to have it. But thank you for using these!