Skip to content

Commit 8c55390

Browse files
committed
[clang] Fix tests build after 537344f
1 parent b6c3eab commit 8c55390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/unittests/Basic/SourceManagerTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ TEST_F(SourceManagerTest, getLineNumber) {
418418

419419
struct FakeExternalSLocEntrySource : ExternalSLocEntrySource {
420420
bool ReadSLocEntry(int ID) override { return {}; }
421+
int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override { return 0; }
421422
std::pair<SourceLocation, StringRef> getModuleImportLoc(int ID) override {
422423
return {};
423424
}

0 commit comments

Comments
 (0)