diff options
Diffstat (limited to 'clang/lib/AST/DeclCXX.cpp')
-rw-r--r-- | clang/lib/AST/DeclCXX.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclCXX.cpp b/clang/lib/AST/DeclCXX.cpp index a302fd87f44..f85091e4f56 100644 --- a/clang/lib/AST/DeclCXX.cpp +++ b/clang/lib/AST/DeclCXX.cpp @@ -738,6 +738,15 @@ bool OverloadIterator::Equals(const OverloadIterator &Other) const { return !isa<OverloadedFunctionDecl>(D) || Iter == Other.Iter; } +FriendFunctionDecl *FriendFunctionDecl::Create(ASTContext &C,DeclContext *DC, + SourceLocation L, + DeclarationName N, QualType T, + bool isInline, + SourceLocation FriendL) { + return new (C) FriendFunctionDecl(DC, L, N, T, isInline, FriendL); +} + + LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, |