aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/DeclFriend.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-05 21:55:30 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-05 21:55:30 +0000
commit1e68ecc4fcce12f683c4fd38acfd1a004001b04f (patch)
treefd87a549e1751f907c6ae4355553f2c51bdce0cb /include/clang/AST/DeclFriend.h
parentb8c879a5363f36bdae8831112b563333e3c05acb (diff)
When creating declarations that are deserialized from an module file,
go through a central allocation routine Decl::AllocateDeserializedDecl(). No actual functionality change (yet). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/DeclFriend.h')
-rw-r--r--include/clang/AST/DeclFriend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/DeclFriend.h b/include/clang/AST/DeclFriend.h
index 07f696a4df..d8fd646dcd 100644
--- a/include/clang/AST/DeclFriend.h
+++ b/include/clang/AST/DeclFriend.h
@@ -78,7 +78,7 @@ public:
static FriendDecl *Create(ASTContext &C, DeclContext *DC,
SourceLocation L, FriendUnion Friend_,
SourceLocation FriendL);
- static FriendDecl *Create(ASTContext &C, EmptyShell Empty);
+ static FriendDecl *CreateDeserialized(ASTContext &C, unsigned ID);
/// If this friend declaration names an (untemplated but possibly
/// dependent) type, return the type; otherwise return null. This