Skip to content

Commit 285ab3e

Browse files
committed
[clang] Fix tests build after 537344f
1 parent 5619e1b commit 285ab3e

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
@@ -406,6 +406,7 @@ TEST_F(SourceManagerTest, getLineNumber) {
406406

407407
struct FakeExternalSLocEntrySource : ExternalSLocEntrySource {
408408
bool ReadSLocEntry(int ID) override { return {}; }
409+
int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override { return 0; }
409410
std::pair<SourceLocation, StringRef> getModuleImportLoc(int ID) override {
410411
return {};
411412
}

0 commit comments

Comments
 (0)