forked from OSchip/llvm-project
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:
parent
5def2a8a44
commit
27a1bc0eae
|
@ -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++];
|
||||
|
|
Loading…
Reference in New Issue