[all-commits] [llvm/llvm-project] d5d8c5: PR48545: Access check the inherited constructor, n...
Richard Smith via All-commits
all-commits at lists.llvm.org
Tue Feb 9 13:28:28 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5d8c529abe65ce55c24b0333842bb31746a8bf8
https://github.com/llvm/llvm-project/commit/d5d8c529abe65ce55c24b0333842bb31746a8bf8
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2021-02-09 (Tue, 09 Feb 2021)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
M clang/test/SemaCXX/cxx11-inheriting-ctors.cpp
Log Message:
-----------
PR48545: Access check the inherited constructor, not the inheriting
constructor.
We got this wrong only when forming a CXXTemporaryObjectExpr, which
caused the bug to only appear for certain syntactic forms.
More information about the All-commits
mailing list