Author: Jan Svoboda
Date: 2023-10-06T15:49:57-07:00
New Revision: 285ab3e936018c8f46594f721a9a2d2a45a0597d

URL: 
https://github.com/llvm/llvm-project/commit/285ab3e936018c8f46594f721a9a2d2a45a0597d
DIFF: 
https://github.com/llvm/llvm-project/commit/285ab3e936018c8f46594f721a9a2d2a45a0597d.diff

LOG: [clang] Fix tests build after 537344fc

Added: 
    

Modified: 
    clang/unittests/Basic/SourceManagerTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Basic/SourceManagerTest.cpp 
b/clang/unittests/Basic/SourceManagerTest.cpp
index bcd2becc2a92293..557281499998ae1 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 {};
   }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to