[clang] Replace Member Expressions During Instantiation If Necessary
This patch replaces member accesses to declaration references during template instantiation if the context is the unevaluated context and the class does not contain the declaration. The replacement fixes the issue #58674. Unlike previous fixes such as D143840, it checks the membership during instantiation rather than right after parsing, so the check is more accurate and efficient. This patch also includes cases that previous fixes had once failed on. Differential Revision: https://reviews.llvm.org/D145491
Loading
Please sign in to comment