aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2025-05-23 20:11:22 +0800
committerGitHub <noreply@github.com>2025-05-23 20:11:22 +0800
commitd4f0f43506d04807e82e5c722c6362bcf112a2a0 (patch)
treec8f76f220c5bd0dcdac8a7a230b694da63d65dd0 /llvm/lib/Object
parent989aadf4b112ef55648d801c4003b63f8aad930e (diff)
downloadllvm-d4f0f43506d04807e82e5c722c6362bcf112a2a0.zip
llvm-d4f0f43506d04807e82e5c722c6362bcf112a2a0.tar.gz
llvm-d4f0f43506d04807e82e5c722c6362bcf112a2a0.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions