From: Matt Beaumont-Gay Date: Fri, 25 Feb 2011 22:36:42 +0000 (+0000) Subject: ASTStmtReader is already a friend of DependentScopeDeclRefExpr, and GCC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfdfb5a4119e1c2b173be5d0ca8a91d8c246698f;p=clang ASTStmtReader is already a friend of DependentScopeDeclRefExpr, and GCC doesn't like re-friending. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126524 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ExprCXX.h b/include/clang/AST/ExprCXX.h index a599cfbbe8..225db3c11f 100644 --- a/include/clang/AST/ExprCXX.h +++ b/include/clang/AST/ExprCXX.h @@ -1888,8 +1888,6 @@ class DependentScopeDeclRefExpr : public Expr { const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args); - friend class ASTStmtReader; - public: static DependentScopeDeclRefExpr *Create(ASTContext &C, NestedNameSpecifierLoc QualifierLoc,