Author: dblaikie Date: Mon Sep 28 18:48:49 2015 New Revision: 248759 URL: http://llvm.org/viewvc/llvm-project?rev=248759&view=rev Log: 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. Modified: cfe/trunk/lib/Serialization/ASTReaderDecl.cpp Modified: cfe/trunk/lib/Serialization/ASTReaderDecl.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReaderDecl.cpp?rev=248759&r1=248758&r2=248759&view=diff ============================================================================== --- cfe/trunk/lib/Serialization/ASTReaderDecl.cpp (original) +++ cfe/trunk/lib/Serialization/ASTReaderDecl.cpp Mon Sep 28 18:48:49 2015 @@ -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( } void ASTDeclReader::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) { - RedeclarableResult Redecl = VisitTypedefNameDecl(D); + VisitTypedefNameDecl(D); D->Variance = Record[Idx++]; D->Index = Record[Idx++]; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits