[clang] 6c94068 - [Driver] Remove unused variable. NFC.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 10 03:53:57 PST 2019
Author: Benjamin Kramer
Date: 2019-11-10T12:53:19+01:00
New Revision: 6c94068da99ae694a14f2484a2c9ac74a22bf61a
URL: https://github.com/llvm/llvm-project/commit/6c94068da99ae694a14f2484a2c9ac74a22bf61a
DIFF: https://github.com/llvm/llvm-project/commit/6c94068da99ae694a14f2484a2c9ac74a22bf61a.diff
LOG: [Driver] Remove unused variable. NFC.
Added:
Modified:
clang/lib/Driver/ToolChains/Darwin.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp
index d550eea94670..b47150d1cee4 100644
--- a/clang/lib/Driver/ToolChains/Darwin.cpp
+++ b/clang/lib/Driver/ToolChains/Darwin.cpp
@@ -1062,7 +1062,6 @@ StringRef Darwin::getPlatformFamily() const {
StringRef Darwin::getSDKName(StringRef isysroot) {
// Assume SDK has path: SOME_PATH/SDKs/PlatformXX.YY.sdk
- llvm::sys::path::const_iterator SDKDir;
auto BeginSDK = llvm::sys::path::begin(isysroot);
auto EndSDK = llvm::sys::path::end(isysroot);
for (auto IT = BeginSDK; IT != EndSDK; ++IT) {
More information about the cfe-commits
mailing list