Properly switch into the declaring scope of a template when performing
template argument deduction or (more importantly) the final substitution
required by such deduction.  Makes access control magically work in these
cases.

Fixes PR6967.

llvm-svn: 102572
4 files changed
tree: 9ba86109427fa7501d2d137136636aa14f7b9b5e
  1. clang/
  2. compiler-rt/
  3. llvm/