Skip to content

Commit c6eb5fe

Browse files
committed
minor follow-ups for remove pinning in utilities and docs
1 parent e5b47a2 commit c6eb5fe

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

docs/StandardLibraryProgrammersManual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TODO: Should this subsume or link to [AccessControlInStdlib.rst](https://github.
3737
1. `@inline(__always)` and `@inline(never)`
3838
1. `@semantics(...)`
3939
1. Builtins
40-
1. Builtin.addressof, _isUnique, _isUniqueOrPinned, etc
40+
1. Builtin.addressof, _isUnique, etc
4141
1. Dirty hacks
4242
1. Why all the underscores and extra protocols?
4343
1. How does the `...` ranges work?

utils/gyb_syntax_support/DeclNodes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,9 @@
502502
text_choices=[
503503
'get', 'set', 'didSet', 'willSet', 'unsafeAddress',
504504
'addressWithOwner', 'addressWithNativeOwner',
505-
'addressWithPinnedNativeOwner', 'unsafeMutableAddress',
505+
'unsafeMutableAddress',
506506
'mutableAddressWithOwner',
507507
'mutableAddressWithNativeOwner',
508-
'mutableAddressWithPinnedNativeOwner',
509508
'_read', '_modify'
510509
]),
511510
Child('Parameter', kind='AccessorParameter', is_optional=True),

utils/sil-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
"load_unowned" "store_unowned"
9494
"fix_lifetime" "mark_dependence"
9595
"end_lifetime"
96-
"is_unique" "is_unique_or_pinned"
96+
"is_unique"
9797
"is_escaping_closure"
9898
"copy_block"
99-
"strong_unpin" "strong_pin" "is_unique" "is_unique_or_pinned")
99+
"is_unique")
100100
'words) . font-lock-keyword-face)
101101
;; Literals
102102
`(,(regexp-opt '("function_ref"

utils/vim/syntax/sil.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ syn keyword swiftKeyword getter setter allocator initializer enumelt destroyer g
7878
syn keyword swiftKeyword alloc_global alloc_stack alloc_ref alloc_ref_dynamic alloc_box alloc_existential_box alloc_value_buffer dealloc_stack dealloc_box dealloc_existential_box dealloc_ref dealloc_partial_ref dealloc_value_buffer skipwhite
7979
syn keyword swiftKeyword debug_value debug_value_addr skipwhite
8080
syn keyword swiftKeyword load load_unowned store assign mark_uninitialized mark_function_escape copy_addr destroy_addr index_addr index_raw_pointer bind_memory to skipwhite
81-
syn keyword swiftKeyword strong_retain strong_release strong_retain_unowned ref_to_unowned unowned_to_ref unowned_retain unowned_release load_weak store_unowned store_weak fix_lifetime autorelease_value set_deallocating is_unique is_unique_or_pinned is_escaping_closure strong_pin strong_unpin skipwhite
81+
syn keyword swiftKeyword strong_retain strong_release strong_retain_unowned ref_to_unowned unowned_to_ref unowned_retain unowned_release load_weak store_unowned store_weak fix_lifetime autorelease_value set_deallocating is_unique is_escaping_closure skipwhite
8282
syn keyword swiftKeyword function_ref integer_literal float_literal string_literal const_string_literal global_addr skipwhite
8383
syn keyword swiftKeyword class_method super_method witness_method objc_method objc_super_method skipwhite
8484
syn keyword swiftKeyword partial_apply builtin skipwhite

0 commit comments

Comments
 (0)