[all-commits] [llvm/llvm-project] 4b0386: [clang] Add test for CWG607
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Fri Apr 7 07:40:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b03869402558d6aa24ce08766825eef34d6aff6
https://github.com/llvm/llvm-project/commit/4b03869402558d6aa24ce08766825eef34d6aff6
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2023-04-07 (Fri, 07 Apr 2023)
Changed paths:
M clang/test/CXX/drs/dr6xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add test for CWG607
[[https://wg21.link/p1787 | 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)
Reviewed By: #clang-language-wg, shafik
Differential Revision: https://reviews.llvm.org/D147590
More information about the All-commits
mailing list