Implement a framework for the delay of arbitrary diagnostics within
templates.  So delay access-control diagnostics when (for example) the target
of a friend declaration is a specific specialization of a template.

I was surprised to find that this was required for an access-controlled selfhost.

llvm-svn: 99383
10 files changed
tree: fa83a50f4d35591c59d9b38cb0e7cbba6fe598c8
  1. clang/
  2. compiler-rt/
  3. llvm/