aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
-rw-r--r--clang/unittests/Basic/SourceManagerTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp
index bcd2bec..557281499 100644
--- a/clang/unittests/Basic/SourceManagerTest.cpp
+++ b/clang/unittests/Basic/SourceManagerTest.cpp
@@ -406,6 +406,7 @@ TEST_F(SourceManagerTest, getLineNumber) {
struct FakeExternalSLocEntrySource : ExternalSLocEntrySource {
bool ReadSLocEntry(int ID) override { return {}; }
+ int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override { return 0; }
std::pair<SourceLocation, StringRef> getModuleImportLoc(int ID) override {
return {};
}