Skip to content

Commit 41a84bb

Browse files
authored
Merge pull request swiftlang#6142 from practicalswift/gardening-20161208
2 parents ba4740d + b2af465 commit 41a84bb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lib/AST/GenericEnvironment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void GenericEnvironment::setOwningDeclContext(DeclContext *newNowningDC) {
4949
if (!newNowningDC || OwningDC == newNowningDC)
5050
return;
5151

52-
// If we have found a outer context sharing the same generic environment,
52+
// If we have found an outer context sharing the same generic environment,
5353
// use that.
5454
if (OwningDC->isChildContextOf(newNowningDC)) {
5555
OwningDC = newNowningDC;

utils/swift_build_support/tests/products/test_swift.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def test_by_default_no_cmake_options(self):
8282
toolchain=self.toolchain,
8383
source_dir='/path/to/src',
8484
build_dir='/path/to/build')
85-
self.assertEqual(swift.cmake_options, ['-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE'])
85+
self.assertEqual(swift.cmake_options, [
86+
'-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE'])
8687

8788
def test_swift_runtime_tsan(self):
8889
self.args.enable_tsan_runtime = True
@@ -240,7 +241,7 @@ def test_benchmark_flags(self):
240241
self.assertEqual(
241242
['-DSWIFT_BENCHMARK_NUM_ONONE_ITERATIONS=20',
242243
'-DSWIFT_BENCHMARK_NUM_O_ITERATIONS=3'],
243-
[x for x in swift.cmake_options if 'SWIFT_BENCHMARK_NUM' in x])
244+
[x for x in swift.cmake_options if 'SWIFT_BENCHMARK_NUM' in x])
244245
self.args.benchmark_num_onone_iterations = 3
245246

246247
self.args.benchmark_num_o_iterations = 30
@@ -276,4 +277,5 @@ def test_sil_ownership_flags(self):
276277
build_dir='/path/to/build')
277278
self.assertEqual(
278279
['-DSWIFT_STDLIB_ENABLE_SIL_OWNERSHIP=TRUE'],
279-
[x for x in swift.cmake_options if 'SWIFT_STDLIB_ENABLE_SIL_OWNERSHIP' in x])
280+
[x for x in swift.cmake_options
281+
if 'SWIFT_STDLIB_ENABLE_SIL_OWNERSHIP' in x])

0 commit comments

Comments
 (0)