[clang] f181f1b - [clang] Remove NFC overload in ASTImporterTest

Raphael Isemann via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 05:11:50 PDT 2020


Author: Raphael Isemann
Date: 2020-04-27T14:10:43+02:00
New Revision: f181f1b7f73e643fb5d10a6d07832c1a2fb34c0b

URL: https://github.com/llvm/llvm-project/commit/f181f1b7f73e643fb5d10a6d07832c1a2fb34c0b
DIFF: https://github.com/llvm/llvm-project/commit/f181f1b7f73e643fb5d10a6d07832c1a2fb34c0b.diff

LOG: [clang] Remove NFC overload in ASTImporterTest

This overload is just an artifact from the original version of the patch, but
doesn't have any functional purpose.

Added: 
    

Modified: 
    clang/unittests/AST/ASTImporterTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index a390b49d1641..36003957d2e1 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/unittests/AST/ASTImporterTest.cpp
@@ -6023,10 +6023,6 @@ struct SourceWithCompletedTagList : clang::ExternalASTSource {
     Record->completeDefinition();
     CompletedTags.push_back(Tag);
   }
-  void
-  FindExternalLexicalDecls(const DeclContext *DC,
-                           llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
-                           SmallVectorImpl<Decl *> &Result) override {}
 };
 
 TEST_P(ImportWithExternalSource, CompleteRecordBeforeImporting) {


        


More information about the cfe-commits mailing list