Make RedeclarableResult's ownership-transferring constructor be a move

constructor.

llvm-svn: 230417
This commit is contained in:
Richard Smith 2015-02-25 01:11:29 +00:00
parent a6b8895442
commit c89bb9dd51
1 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@ namespace clang {
: Reader(Reader), FirstID(FirstID), MergeWith(MergeWith),
Owning(true), DeclKind(DeclKind) {}
RedeclarableResult(const RedeclarableResult &Other)
RedeclarableResult(RedeclarableResult &&Other)
: Reader(Other.Reader), FirstID(Other.FirstID),
MergeWith(Other.MergeWith), Owning(Other.Owning),
DeclKind(Other.DeclKind) {