]> granicus.if.org Git - clang/commit
Implement a framework for the delay of arbitrary diagnostics within
authorJohn McCall <rjmccall@apple.com>
Wed, 24 Mar 2010 05:22:00 +0000 (05:22 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 24 Mar 2010 05:22:00 +0000 (05:22 +0000)
commit0c01d18094100db92d38daa923c95661512db203
treeaa3dd51dcd3078cf0407dfb29a7da91072ab4009
parentb5b2ccbbb69f49146d937e1dc6d7dc11d631908c
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99383 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/DeclBase.h
include/clang/AST/DeclContextInternals.h
include/clang/AST/DependentDiagnostic.h [new file with mode: 0644]
lib/AST/ASTContext.cpp
lib/AST/DeclBase.cpp
lib/Sema/Sema.h
lib/Sema/SemaAccess.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/temp/temp.decls/temp.friend/p1.cpp