Commit Graph

978 Commits

Author SHA1 Message Date
Pramod Sharma
05ba2f4dbc Typo Fixed : implemention -> implementation 2015-12-09 09:56:57 +05:30
Patrick Pijnappel
230e4a39e6 Merge guards in Zip2Generator
Removes the duplication of the guard body code
2015-12-09 14:03:02 +11:00
Patrick Pijnappel
e7fabae50c Fix comment 2015-12-09 13:56:18 +11:00
Patrick Pijnappel
a3d5af5cd3 Fix documentation
The parsing regex listed in String(_, radix:) is incorrect.
2015-12-09 11:24:39 +11:00
Chris Eidhof
6857b0c3d5 Simplify filter 2015-12-08 16:07:29 -05:00
Nadav Rotem
a652945d9a Revert "A small step towards removing C-style loops"
This reverts commit 0d001480a9.

The commit that changed the iteration style from c-based loops into for-each
loops caused major regressions in our string benchmarks. Arnold believes that we
are making a different inlining decision in the for-each loops. We should
reapply this patch after we fix the optimizer

The regression was detected in rdar://23776732.
2015-12-08 09:17:17 -08:00
Nadav Rotem
26be9b6443 Revert "stdlib: simplify code"
This reverts commit 403b46ccea.
2015-12-08 09:12:47 -08:00
Arnold Schwaighofer
d5b3bfbd59 ArraySemantics: Add an api to replace a call to _getElement with a value
Also remove dependent calls to hoistableNativeTypeCheck() and checkSubscript()
calls. To find the guarding checkSubscript() call we introduce a return value to
checkSubscript that is used by the _getElement() call so that we can just follow
the use-def chain to find the dependence.
2015-12-08 07:34:25 -08:00
Arnold Schwaighofer
4b22a31154 ArraySemantics: Remove getArrayPropertyIsNative - we are only using
hoistableIsNativeTypeChecked these days.
2015-12-08 07:34:25 -08:00
Kanstantsin Linou
c9024ccc2c Fix typo in Arrays.swift.gyb
<code>accross</code> -> <code>across</code>
2015-12-08 17:39:28 +03:00
Mark Lacey
1905cdc9cb Merge pull request #347 from punchharpit/master
fix typo : avalance => avalanche
2015-12-08 05:35:08 -08:00
Mark Lacey
a7189700e6 Merge pull request #341 from RajkumarPunchh/rk-TypeFix-Formula
Fixed Typo. “forumula” to “formula”.
2015-12-08 05:29:38 -08:00
arpit
291d991969 fix typo : avalance => avalanche 2015-12-08 18:59:31 +05:30
Mark Lacey
41ce8fbb33 Merge pull request #344 from monicasoni/ms-fixTypo
Fix typo contigous => contiguous
2015-12-08 05:23:31 -08:00
Mark Lacey
fee396767f Merge pull request #342 from gauravds/gds-FixTypoChar
fix typo arthmetic => arithmetic
2015-12-08 05:22:03 -08:00
Monica Soni
9d98066d7d Fix typo contigous => contiguous 2015-12-08 18:03:00 +05:30
GauravDS
ff15547551 fix typo arthmetic => arithmetic 2015-12-08 17:13:33 +05:30
rajkumarpunchh
7a7efeb3cd Fixed Typo. “forumula” to “formula”. 2015-12-08 17:05:10 +05:30
GauravDS
8ac4d21fb0 Fix typo characterstics => characteristics 2015-12-08 15:09:50 +05:30
Nick van der Ploeg
42b4b02df3 Fixed typos in comments throughout the project. 2015-12-07 12:15:52 -06:00
Florian Reinhart
2134e55c25 Fix typo in comment 2015-12-07 14:24:11 +01:00
Radek Pietruszewski
d029f7e5ae Fix typo in UnavailableStringAPIs.swift.gyb 2015-12-06 11:28:35 +01:00
Dmitri Gribenko
8bba74eaee Merge pull request #241 from codestergit/master
[stdlib] Used map and guard for nil handling
2015-12-05 23:48:59 -08:00
Dmitri Gribenko
403b46ccea stdlib: simplify code 2015-12-05 23:29:31 -08:00
Dmitri Gribenko
4b8fff424b Merge pull request #270 from hamin/cleaning-up-cstyle-loops
A small step towards removing C-style loops
2015-12-05 22:47:26 -08:00
Haris Amin
0d001480a9 A small step towards removing C-style loops 2015-12-06 01:07:24 -05:00
codestergit
6e85e69283 [stdlib] Using map and guard let for nil handling 2015-12-06 04:01:33 +05:30
Alfredo Delli Bovi
e437c4557c Fix typo in comments 2015-12-05 15:34:45 +01:00
Dmitri Gribenko
f47f206ca0 Merge pull request #164 from jawwad/remove-trailing-semicolons-from-stdlib
Remove trailing semicolons from files in stdlib
2015-12-05 01:28:37 -08:00
Dmitri Gribenko
16de5d1fc4 Merge pull request #203 from landonf/landonf/freebsd-patchset-1
Partial FreeBSD Support
2015-12-04 22:14:38 -08:00
Ted Kremenek
4c153f6a95 Merge pull request #230 from wxxsw/whitespaces
Erase redundant whitespaces.
2015-12-04 21:56:30 -08:00
Ge Sen
20030242bd Erase redundant whitespaces. 2015-12-05 12:11:47 +08:00
Rob Hudson
14960fdb1e Fix typo 2015-12-04 22:48:17 -05:00
Joe Groff
76eb96e29e Runtime: Reinstate _stdlib_demangleName hook.
This is needed for Xcode support, even though it appeared dead within the Swift repo itself.
2015-12-04 18:45:51 -08:00
Patrick
14fdf744b0 Make documented complexity consistent
Since most of the documentation in the code use O(`self.count`) instead of O(`count`), change the inconsistent code documentation to O(`self.count`).
2015-12-04 17:15:55 -08:00
Landon Fuller
83b706df8a Merge branch 'master' into landonf/freebsd-patchset-1 2015-12-04 17:11:54 -07:00
aschwaighofer
ea848834f9 Merge pull request #193 from chriseidhof/use-map
Use Optional's built-in map
2015-12-04 18:06:08 -05:00
Landon Fuller
a7ec794287 Add basic build system and Driver support for FreeBSD targets/hosts. 2015-12-04 12:24:46 -07:00
Chris Eidhof
44b0e4f2dd Use Optional's built-in map 2015-12-04 09:15:29 -08:00
Jawwad Ahmad
8f6f5ab0dd [stdlib] Remove trailing semicolons from files in stdlib 2015-12-04 15:50:13 +05:00
ken0nek
2218e433b4 Add whitespaces after comma and remove redundant whitespaces.
Manage whitespaces

Remove unrelated line

Fix

Fix again
2015-12-04 15:36:34 +09:00
Thomas Jeans
8b7cee09cc Fix typo 2015-12-03 22:40:27 -05:00
Noah Fradin
048327cd02 Update Shims.swift 2015-12-03 16:36:19 -08:00
Vincent Esche
b7a6236040 Fixing wrong method documentation for SetAlgebra (see my rdar://22031133)
Spot the error:

	/// Return true iff `self.intersect(other).isEmpty`.
	@warn_unused_result
	func subtract(other: Self) -> Self
	
	…
	
	/// Return true iff `self.intersect(other).isEmpty`.
	@warn_unused_result
	func isDisjointWith(other: Self) -> Bool

😉
2015-12-03 21:44:26 +01:00
Johan K. Jensen
fa76656c82 Remove instances of duplicated words 2015-12-03 20:00:29 +01:00
Johan K. Jensen
110f48d2a5 Update referenced IntegerArithmetic filename 2015-12-03 19:42:38 +01:00
Riley Avron
d3fa0c1b91 Fix typo in String.swift documentation. 2015-12-03 09:42:23 -08:00
Dmitri Gribenko
f431025638 stdlib: Fix documentation comments for Sequence.{dropFirst(),dropLast()} 2015-12-02 10:29:07 -08:00
Joe Groff
fed7f79147 Runtime: Static-ize swift_unsafeReflectAny.
The _unsafeReflect entry point never ended up getting used on the Swift side, so don't export it, and remove the _silgen_name'd declaration.
2015-12-02 09:39:29 -08:00
Nadav Rotem
b6c284b24f Rename a variable. NFC.
"builder" -> "result", as requested by @gribozavr.
2015-12-01 17:10:42 -08:00