]> granicus.if.org Git - clang/commitdiff
Fix -Woverloaded-virtual warning in clang-refactor
authorAlex Lorenz <arphaman@gmail.com>
Fri, 13 Oct 2017 21:15:25 +0000 (21:15 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 13 Oct 2017 21:15:25 +0000 (21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315755 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-refactor/ClangRefactor.cpp

index 72b3dab89210c1f8bf75c2bc55eb9ef701b79595..800729db86195543b56281789be5b08673fe59d9 100644 (file)
@@ -314,6 +314,10 @@ public:
     SourceChanges.insert(SourceChanges.begin(), Changes.begin(), Changes.end());
   }
 
+  void handle(SymbolOccurrences Occurrences) override {
+    RefactoringResultConsumer::handle(std::move(Occurrences));
+  }
+
   const AtomicChanges &getSourceChanges() const { return SourceChanges; }
 
 private: