Skip to content

Commit 2a094da

Browse files
Merge pull request #2165 from practicalswift/gardening-20160413
[gardening] Remove unused code. Fix file header formatting. Fix PEP 8 regression. Fix recently introduced typo: "accomodate" → "accommodate".
2 parents c01e8ed + 79019d5 commit 2a094da

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
458458
is_sdk_requested(ANDROID swift_build_android)
459459
if(swift_build_android AND ${swift_can_crosscompile_stdlib})
460460
configure_sdk_unix(ANDROID "Android" "android" "android" "armv7" "armv7-none-linux-androideabi")
461-
set(SWIFT_SDK_ANDROID_PATH "${SWIFT_ANDROID_SDK_PATH}")
462461

463462
set(SWIFT_PRIMARY_VARIANT_SDK_default "ANDROID")
464463
set(SWIFT_PRIMARY_VARIANT_ARCH_default "armv7")

include/swift/Remote/CMemoryReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- CMemoryReader.h - MemoryReader wrapper for C impls -------*- C++ -*-===//
1+
//===--- CMemoryReader.h - MemoryReader wrapper for C impls -----*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

include/swift/Remote/InProcessMemoryReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- InProcessMemoryReader.h - Access to local memory ---------*- C++ -*-===//
1+
//===--- InProcessMemoryReader.h - Access to local memory -------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

include/swift/Remote/MemoryReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- MemoryReader.h - Abstract access to remote memory --------*- C++ -*-===//
1+
//===--- MemoryReader.h - Abstract access to remote memory ------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

lib/Driver/ToolChains.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class LLVM_LIBRARY_VISIBILITY GenericUnix : public ToolChain {
5454
virtual std::string getDefaultLinker() const;
5555

5656
/// The target to be passed to the compiler invocation. By default, this
57-
/// is the target triple, but this may be overridden to accomodate some
57+
/// is the target triple, but this may be overridden to accommodate some
5858
/// platforms.
5959
virtual std::string getTargetForLinker() const;
6060

utils/build-script

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,8 @@ the number of parallel build jobs to use""",
11441144
build_script_impl_args += [
11451145
"--android-ndk", args.android_ndk,
11461146
"--android-ndk-version", args.android_ndk_version,
1147-
"--android-ndk-toolchain-version", args.android_ndk_toolchain_version, # noqa
1147+
"--android-ndk-toolchain-version",
1148+
args.android_ndk_toolchain_version,
11481149
"--android-icu-uc", args.android_icu_uc,
11491150
"--android-icu-uc-include", args.android_icu_uc_include,
11501151
"--android-icu-i18n", args.android_icu_i18n,
@@ -1181,7 +1182,8 @@ the number of parallel build jobs to use""",
11811182
build_script_impl_args += [
11821183
"--android-ndk", args.android_ndk,
11831184
"--android-ndk-version", args.android_ndk_version,
1184-
"--android-ndk-toolchain-version", args.android_ndk_toolchain_version,
1185+
"--android-ndk-toolchain-version",
1186+
args.android_ndk_toolchain_version,
11851187
"--android-icu-uc", args.android_icu_uc,
11861188
"--android-icu-uc-include", args.android_icu_uc_include,
11871189
"--android-icu-i18n", args.android_icu_i18n,

0 commit comments

Comments
 (0)