Remove the explicit SDNodeIterator::operator= in favor of the implicit default
[oota-llvm.git] / lib / Analysis / CFLAliasAnalysis.cpp
index 82fbfe06aee931867945c081870b52747e98e884..cf92bfeca1098826f33a07995c9ee900673afd24 100644 (file)
@@ -151,15 +151,13 @@ struct FunctionInfo {
 
 struct CFLAliasAnalysis;
 
-struct FunctionHandle : public CallbackVH {
+struct FunctionHandle final : public CallbackVH {
   FunctionHandle(Function *Fn, CFLAliasAnalysis *CFLAA)
       : CallbackVH(Fn), CFLAA(CFLAA) {
     assert(Fn != nullptr);
     assert(CFLAA != nullptr);
   }
 
-  virtual ~FunctionHandle() {}
-
   void deleted() override { removeSelfFromCache(); }
   void allUsesReplacedWith(Value *) override { removeSelfFromCache(); }