Skip to content

Commit e3f9d0e

Browse files
Merge pull request #1349 from nate-chandler/lexical_lifetimes/per-function
Add attr to enable lexical lifetime per function.
2 parents ef12dea + 7529c17 commit e3f9d0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gyb_syntax_support/AttributeKinds.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,12 @@ def __init__(self, name, swift_name=None):
603603
OnFunc, OnParam, OnVar, OnNominalType,
604604
code=117),
605605

606+
SimpleDeclAttribute('_lexicalLifetimes', 'LexicalLifetimes',
607+
UserInaccessible,
608+
ABIStableToAdd, ABIStableToRemove,
609+
APIStableToAdd, APIStableToRemove,
610+
OnFunc, code=36),
611+
606612
SimpleDeclAttribute('_noEagerMove', 'NoEagerMove',
607613
UserInaccessible,
608614
ABIStableToAdd, ABIStableToRemove,

0 commit comments

Comments
 (0)