]> granicus.if.org Git - clang/commitdiff
[Index] Remove unused index::IndexDataConsumer::_anchor()
authorFangrui Song <maskray@google.com>
Thu, 5 Jul 2018 00:33:03 +0000 (00:33 +0000)
committerFangrui Song <maskray@google.com>
Thu, 5 Jul 2018 00:33:03 +0000 (00:33 +0000)
It was supposed to serve as a key function, but it was invalid as it was not the first out-of-line non-pure virtual function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336300 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Index/IndexDataConsumer.h
lib/Index/IndexingAction.cpp

index 53cdea91834881abb05630a248670b2c7112c99b..8115b04af6555d65f7e630549808b9ed2a8b9bd6 100644 (file)
@@ -54,9 +54,6 @@ public:
                                      SymbolRoleSet Roles, SourceLocation Loc);
 
   virtual void finish() {}
-
-private:
-  virtual void _anchor();
 };
 
 } // namespace index
index c8f65804b0d1f4168ceefe3fe8d3e5a335af6bc4..e378a092bea6c072a078cbaeab31b2280f86093e 100644 (file)
@@ -19,8 +19,6 @@
 using namespace clang;
 using namespace clang::index;
 
-void IndexDataConsumer::_anchor() {}
-
 bool IndexDataConsumer::handleDeclOccurence(const Decl *D, SymbolRoleSet Roles,
                                             ArrayRef<SymbolRelation> Relations,
                                             SourceLocation Loc,