Skip to content

Fix docs and comments around optional intrinsics#289

Merged
lattner merged 1 commit intoswiftlang:masterfrom
gregheo:fix-optionals-docs-comment
Dec 6, 2015
Merged

Fix docs and comments around optional intrinsics#289
lattner merged 1 commit intoswiftlang:masterfrom
gregheo:fix-optionals-docs-comment

Conversation

@gregheo
Copy link
Copy Markdown
Contributor

@gregheo gregheo commented Dec 6, 2015

docs/archive/LangRef.html is flagged as unmaintained, but I didn't see much else about optionals in the docs so why not update it anyway!

emitPreconditionOptionalHasValue had the switch logic moved from the standard library to lib/SILGen/SILGenConvert.cpp back in 9c7417e and there's no _preconditionOptionalHasValue intrinsic anymore. Updated the comment in the headers to clarify.

docs/archive/LangRef.html is flagged as unmaintained, but I didn't see
much else about optionals in the docs so why not update it now.

`emitPreconditionOptionalHasValue` had the switch logic moved from the
standard library to lib/SILGen/SILGenConvert.cpp back in 9c7417e
and there's no _preconditionOptionalHasValue intrinsic anymore. Updated
the comment in the headers to clarify.
lattner added a commit that referenced this pull request Dec 6, 2015
Fix docs and comments around optional intrinsics
@lattner lattner merged commit 9f43fcd into swiftlang:master Dec 6, 2015
@lattner
Copy link
Copy Markdown
Contributor

lattner commented Dec 6, 2015

Thanks, we should probably just nuke that document though :-)

slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
…3.1.4-merge-master

Merge darwin/libdispatch-913.1.4 to master
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants