aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-10-14 21:35:29 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-10-14 21:35:29 +0000
commit0f96abb17e21846fcd309a8002c6c91f95762b48 (patch)
tree1fb3d7f796d05b9a5078f0ada6322ce357d26cb2
parentfa432391a708448518df1e6ced4e34f4c349d169 (diff)
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
-rw-r--r--include/clang/AST/Decl.h2
1 files changed, 1 insertions, 1 deletions
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,