[PATCH] D68380: [Driver] NFC: Remove duplicate call to getLibGccType
Cullen Rhodes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 02:13:10 PDT 2019
c-rhodes created this revision.
c-rhodes added a reviewer: saugustine.
https://reviews.llvm.org/D68380
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
Index: clang/lib/Driver/ToolChains/CommonArgs.cpp
===================================================================
--- clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -1186,7 +1186,6 @@
case ToolChain::UNW_None:
return;
case ToolChain::UNW_Libgcc: {
- LibGccType LGT = getLibGccType(D, Args);
if (LGT == LibGccType::StaticLibGcc)
CmdArgs.push_back("-lgcc_eh");
else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68380.222977.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191003/28c90951/attachment.bin>
More information about the cfe-commits
mailing list