https://github.com/jansvoboda11 created 
https://github.com/llvm/llvm-project/pull/215969

None

>From 0d66bbb2dac88a22a153bca853487c6b9862681f Mon Sep 17 00:00:00 2001
From: Jan Svoboda <[email protected]>
Date: Thu, 13 Aug 2026 08:33:39 +0200
Subject: [PATCH] [clang][test] Cache failed stats in a unit test

---
 clang/unittests/Frontend/ASTUnitTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/unittests/Frontend/ASTUnitTest.cpp 
b/clang/unittests/Frontend/ASTUnitTest.cpp
index 08dcd80a414ef..813da472ebe06 100644
--- a/clang/unittests/Frontend/ASTUnitTest.cpp
+++ b/clang/unittests/Frontend/ASTUnitTest.cpp
@@ -193,7 +193,7 @@ TEST_F(ASTUnitTest, ModuleTextualHeader) {
       CInvok, PCHContainerOps, DiagOpts, Diags, FileMgr, false,
       CaptureDiagsKind::None, 1, TU_Complete, false, false, false);
   ASSERT_TRUE(AU);
-  auto File = AU->getFileManager().getFileRef("Textual.h", false, false);
+  auto File = AU->getFileManager().getFileRef("Textual.h");
   ASSERT_TRUE(bool(File));
   // Verify that we do not crash here.
   EXPECT_TRUE(

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to