[clang] Substitute alias templates from correct context (#75069)
Current context set to where alias was met, not where it is declared caused incorrect access check in case alias referenced private members of the parent class. This is a recommit of 6b1aa319 with a slight modification in order to fix reported regression. Fixes https://github.com/llvm/llvm-project/issues/41693
Loading
Please sign in to comment