]> granicus.if.org Git - clang/commitdiff
Fix compiler error that clang didn't report (probably same problem as rdar://8552377).
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 14 Oct 2010 21:35:29 +0000 (21:35 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 14 Oct 2010 21:35:29 +0000 (21:35 +0000)
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

include/clang/AST/Decl.h

index 43e82c91a6dfa5b25f0c26cf7daf2e35f029599e..04a18a93e011d04aed722e06e931ec808f01de6b 100644 (file)
@@ -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,