[all-commits] [llvm/llvm-project] 3f950a: [clang] Add test for CWG360

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Thu Dec 1 06:24:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f950ad58919309882a29bcb4bf6f8db62ffc384
      https://github.com/llvm/llvm-project/commit/3f950ad58919309882a29bcb4bf6f8db62ffc384
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M clang/test/CXX/drs/dr3xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Add test for CWG360

P1787: "CWG360 is resolved by applying access control to using-declarations."
[[ http://eel.is/c++draft/class.access#general-4.sentence-3 | class.access.general#4 ]]: "When a using-declarator is named, access control is applied to it, not to the declarations that replace it."

Reviewed By: #clang-language-wg, aaron.ballman

Differential Revision: https://reviews.llvm.org/D139090




More information about the All-commits mailing list