Skip to content

Commit c9b45ce

Browse files
committed
[clang][NFC] Fix a GCC warning in ASTImporterTest.cpp
Apparently only overriding one of the two CompleteType overloads causes GCC to emit a warning with -Woverloaded-virtual .
1 parent 62d1fb8 commit c9b45ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/unittests/AST/ASTImporterTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5803,6 +5803,7 @@ struct SourceWithCompletedTagList : clang::ExternalASTSource {
58035803
Record->completeDefinition();
58045804
CompletedTags.push_back(Tag);
58055805
}
5806+
void CompleteType(ObjCInterfaceDecl *) override {}
58065807
};
58075808

58085809
TEST_P(ImportWithExternalSource, CompleteRecordBeforeImporting) {

0 commit comments

Comments
 (0)