Skip to content

Commit 2c37c3c

Browse files
committed
remove redeclaration
1 parent e013c09 commit 2c37c3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/unittests/IR/TypesTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ TEST(TypesTest, TargetExtType) {
7070
TargetExtensionType =
7171
TargetExtType::get(Context, "structTET", {Struct}, {0, 1});
7272
TETV.clear();
73-
llvm::raw_svector_ostream TETStream(TETV);
73+
TETStream.clear();
74+
TETStream(TETV);
7475
TargetExtensionType->print(TETStream);
7576

7677
EXPECT_STREQ(TETStream.str().str().data(),

0 commit comments

Comments
 (0)