diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2023-10-06 15:49:50 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2023-10-06 15:49:57 -0700 |
commit | 285ab3e936018c8f46594f721a9a2d2a45a0597d (patch) | |
tree | 3f2f5ba37d0133c999380d6fdf48bbc714dad45e /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 5619e1b813f3fa7d67b7a85a177d72ccb5d709cb (diff) | |
download | llvm-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.cpp | 1 |
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 {}; } |