diff options
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r-- | include/clang/AST/Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 7eb332bd95..030c74c640 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -2566,6 +2566,7 @@ class InjectedClassNameType : public Type { QualType InjectedType; friend class ASTContext; // ASTContext creates these. + friend class TagDecl; // TagDecl mutilates the Decl InjectedClassNameType(CXXRecordDecl *D, QualType TST) : Type(InjectedClassName, QualType(), true), Decl(D), InjectedType(TST) { |