[clang] [clang][test] Cache failed stats in a unit test (PR #215969)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 23:35:57 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/215969.diff
1 Files Affected:
- (modified) clang/unittests/Frontend/ASTUnitTest.cpp (+1-1)
``````````diff
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(
``````````
</details>
https://github.com/llvm/llvm-project/pull/215969
More information about the cfe-commits
mailing list