llvm-project
28009c88 - [Clang] Check enable_if attribute in the DC of current function (#175899)

Commit
101 days ago
[Clang] Check enable_if attribute in the DC of current function (#175899) A ContextRAII here ensures immediate access control checking within the current context, allowing us to rule out inaccessible constructors during potential overload resolution, where access diagnostics are converted from hard errors into SFINAE errors, making the behavior more preferrable with the nature of the enable_if attribute. Fixes https://github.com/llvm/llvm-project/issues/175895
Author
Parents
Loading