llvm-project
d4f0f435 - [Clang] Fix the access checking for non-aggregates in default arguments (#141207)

Commit
131 days ago
[Clang] Fix the access checking for non-aggregates in default arguments (#141207) We check the accessibility of constructors when initializing a default argument whose type is not an aggregate. Make sure the check is performed within the correct DeclContext. Otherwise, it will be delayed until the end of the declaration, at which point the context is mismatched. Fixes #62444 Fixes https://github.com/llvm/llvm-project/issues/83608
Author
Parents
Loading