diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-08-12 00:53:41 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-08-12 00:53:41 +0000 |
commit | 1068a78bd300160b20d35a53afd88faedf65ee8e (patch) | |
tree | 857be7164a671d4c4bf245bbcc3462016e62bff6 /lib/AST/DeclCXX.cpp | |
parent | c52f27b275d2a18dcd48a424c953bd4336badb3c (diff) |
Remove unused and undesirable reference from BindingDecl to DecompositionDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclCXX.cpp')
-rw-r--r-- | lib/AST/DeclCXX.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AST/DeclCXX.cpp b/lib/AST/DeclCXX.cpp index 772ce10661..14df382697 100644 --- a/lib/AST/DeclCXX.cpp +++ b/lib/AST/DeclCXX.cpp @@ -2309,13 +2309,12 @@ StaticAssertDecl *StaticAssertDecl::CreateDeserialized(ASTContext &C, void BindingDecl::anchor() {} BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, - DecompositionDecl *Decomp, SourceLocation IdLoc, IdentifierInfo *Id) { - return new (C, DC) BindingDecl(DC, Decomp, IdLoc, Id); + return new (C, DC) BindingDecl(DC, IdLoc, Id); } BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { - return new (C, ID) BindingDecl(nullptr, nullptr, SourceLocation(), nullptr); + return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); } void DecompositionDecl::anchor() {} |