From 99ffa5c0f404d19ed99b9a9473ff1345ccd40d78 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 18 Mar 2014 09:58:28 +0000 Subject: [PATCH] DebugIRTests: Fixup for r204130. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204132 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Transforms/DebugIR/DebugIR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Transforms/DebugIR/DebugIR.cpp b/unittests/Transforms/DebugIR/DebugIR.cpp index 497dae30cb1..9b89c1593c7 100644 --- a/unittests/Transforms/DebugIR/DebugIR.cpp +++ b/unittests/Transforms/DebugIR/DebugIR.cpp @@ -278,7 +278,7 @@ TEST_F(TestDebugIR, ExistingMetadataRetained) { // verify DebugIR did not generate a file ASSERT_FALSE(removeIfExists(Path)) << "Unexpected file " << Path; - DICompileUnit CU(*Finder.compile_unit_begin()); + DICompileUnit CU(*Finder.compile_units().begin()); // Verify original CU information is retained ASSERT_EQ(Filename, CU.getFilename()); -- 2.34.1