[cfe-commits] r126524 - /cfe/trunk/include/clang/AST/ExprCXX.h

Matt Beaumont-Gay matthewbg at google.com
Fri Feb 25 14:36:42 PST 2011


Author: matthewbg
Date: Fri Feb 25 16:36:42 2011
New Revision: 126524

URL: http://llvm.org/viewvc/llvm-project?rev=126524&view=rev
Log:
ASTStmtReader is already a friend of DependentScopeDeclRefExpr, and GCC
doesn't like re-friending.

Modified:
    cfe/trunk/include/clang/AST/ExprCXX.h

Modified: cfe/trunk/include/clang/AST/ExprCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprCXX.h?rev=126524&r1=126523&r2=126524&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Fri Feb 25 16:36:42 2011
@@ -1888,8 +1888,6 @@
                             const DeclarationNameInfo &NameInfo,
                             const TemplateArgumentListInfo *Args);
 
-  friend class ASTStmtReader;
-  
 public:
   static DependentScopeDeclRefExpr *Create(ASTContext &C,
                                            NestedNameSpecifierLoc QualifierLoc,





More information about the cfe-commits mailing list