Skip to content

Commit d30014f

Browse files
committed
Update ToolChainTest.cpp
1 parent 0e28ac6 commit d30014f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/unittests/Driver/ToolChainTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,7 @@ TEST(ToolChainTest, UEFICallingConventionTest) {
589589

590590
compiler.getTargetOpts().Triple = Tr.getTriple();
591591
compiler.setTarget(clang::TargetInfo::CreateTargetInfo(
592-
compiler.getDiagnostics(),
593-
std::make_shared<clang::TargetOptions>(compiler.getTargetOpts())));
592+
compiler.getDiagnostics(), compiler.getTargetOpts()));
594593

595594
EXPECT_EQ(compiler.getTarget().getCallingConvKind(true),
596595
TargetInfo::CallingConvKind::CCK_MicrosoftWin64);

0 commit comments

Comments
 (0)