Only set the point of instantiation for an implicit or explicit
instantiation once we have committed to performing the
instantiation. As part of this, make our makeshift
template-instantiation location information suck slightly less.

Fixes PR5264.

llvm-svn: 85209
7 files changed
tree: 7b8bcffec767ed0e94884a9984fb194b355b1baa
  1. clang/
  2. compiler-rt/
  3. llvm/