Remove trivial dtor that was making uses of the copy ctor -Wdeprecated unclean

And also remove an unused variable that's now diagnosed by
-Wunused-variable since the dtor is now trivial.

llvm-svn: 248759
This commit is contained in:
David Blaikie 2015-09-28 23:48:49 +00:00
parent 5def2a8a44
commit 27a1bc0eae
1 changed files with 1 additions and 2 deletions

View File

@ -129,7 +129,6 @@ namespace clang {
public:
RedeclarableResult(GlobalDeclID FirstID, Decl *MergeWith, bool IsKeyDecl)
: FirstID(FirstID), MergeWith(MergeWith), IsKeyDecl(IsKeyDecl) {}
~RedeclarableResult() {}
/// \brief Retrieve the first ID.
GlobalDeclID getFirstID() const { return FirstID; }
@ -882,7 +881,7 @@ void ASTDeclReader::VisitObjCMethodDecl(ObjCMethodDecl *MD) {
}
void ASTDeclReader::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) {
RedeclarableResult Redecl = VisitTypedefNameDecl(D);
VisitTypedefNameDecl(D);
D->Variance = Record[Idx++];
D->Index = Record[Idx++];