From: Argyrios Kyrtzidis Date: Thu, 14 Oct 2010 21:35:29 +0000 (+0000) Subject: Fix compiler error that clang didn't report (probably same problem as rdar://8552377). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f96abb17e21846fcd309a8002c6c91f95762b48;p=clang Fix compiler error that clang didn't report (probably same problem as rdar://8552377). It's more stress-free without access checking though.. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116521 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 43e82c91a6..04a18a93e0 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -2220,7 +2220,7 @@ class RecordDecl : public TagDecl { /// methods/nested types we allow deserialization of just the fields /// when needed. mutable bool LoadedFieldsFromExternalStorage : 1; - friend void DeclContext::LoadLexicalDeclsFromExternalStorage() const; + friend class DeclContext; protected: RecordDecl(Kind DK, TagKind TK, DeclContext *DC,