aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-10-06 15:49:50 -0700
committerJan Svoboda <jan_svoboda@apple.com>2023-10-06 15:49:57 -0700
commit285ab3e936018c8f46594f721a9a2d2a45a0597d (patch)
tree3f2f5ba37d0133c999380d6fdf48bbc714dad45e /clang/unittests/Basic/SourceManagerTest.cpp
parent5619e1b813f3fa7d67b7a85a177d72ccb5d709cb (diff)
downloadllvm-285ab3e936018c8f46594f721a9a2d2a45a0597d.zip
llvm-285ab3e936018c8f46594f721a9a2d2a45a0597d.tar.gz
llvm-285ab3e936018c8f46594f721a9a2d2a45a0597d.tar.bz2
[clang] Fix tests build after 537344fc
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 {};
}