Commit Graph

116 Commits

Author SHA1 Message Date
Michael Gottesman
29c8172cd4 [sil-mode] Remove trailing whitespace.
Swift SVN r10916
2013-12-06 05:33:37 +00:00
Michael Gottesman
ca0d9fb953 [sil-mode] Change two (if (not ...) ...) -> unless and fix a capitalization error.
Swift SVN r10915
2013-12-06 05:33:36 +00:00
Michael Gottesman
1e795f2390 Add sil_vtable highlighting to sil-mode.
Swift SVN r10914
2013-12-06 05:18:19 +00:00
Michael Gottesman
4b882d8843 [sil-mode] Teach sil-mode how to highlight "mark_uninitialized" and "mark_function_escape".
Swift SVN r10622
2013-11-21 02:29:07 +00:00
Dmitri Hrybenko
81dc5deee8 Change 'def' keyword back to 'func'
Swift SVN r10522
2013-11-17 07:45:28 +00:00
Dmitri Hrybenko
4bc7549eee Update syntax highlighting scripts for 'func' -> 'def' change
Swift SVN r9891
2013-11-02 01:13:27 +00:00
Joe Groff
6424e99da2 SIL: Rename 'condbranch' to the more idiomatic 'cond_br'.
For consistency with the other '*_br' instructions.

Swift SVN r8957
2013-10-07 16:16:35 +00:00
Adrian Prantl
9556692e2d addd copy_value
Swift SVN r8860
2013-10-02 22:46:04 +00:00
Michael Gottesman
c0efcf1766 Add {destroy,copy}_value syntax highlighting for sil.
Swift SVN r8683
2013-09-26 00:52:01 +00:00
Joe Groff
e109124186 Replace 'union' keyword with 'enum'.
This only touches the compiler and tests. Doc updates to follow.

Swift SVN r8478
2013-09-20 01:33:14 +00:00
Dmitri Hrybenko
ed7f95189e Update syntax highlighting for constructor -> init change
Swift SVN r8419
2013-09-18 21:16:31 +00:00
Joe Groff
705102b544 SIL: Rename 'ClangThunk' specifier to 'Thunk'.
Lazily-generated currying thunks will require the same IR-level linkonce_odr linkage as clang thunks currently do, so generalize the name of the existing SIL-level linkage specifier 'clang_thunk'.

Swift SVN r8122
2013-09-11 23:47:15 +00:00
Michael Gottesman
e67f33bef4 [sil-mode.el] Add keyword highlighting "to", "sil_sage".
Swift SVN r8029
2013-09-08 19:57:49 +00:00
Michael Gottesman
510ad273c1 Remove retain/retain_autoreleased/release/retain_unowned from sil-mode.
Swift SVN r7610
2013-08-26 23:52:00 +00:00
Michael Gottesman
d41b871b3a At Joe's suggestion added the prefix strong to instructions Retain,Release,RetainAutoreleased,RetainUnowned to prevent confusion in between RetainUnowned and UnownedRetain.
This is was a very mechanical patch where I basically first renamed SILNodes.def
and then just kept fixing things until everything compiled, so even though it is
large patch I feel ok(ish) with committing it.

If anyone has any concerns/etc, please email me and I will revert in 1 second.

Swift SVN r7604
2013-08-26 23:32:16 +00:00
Michael Gottesman
793716729e [sil-mode] Added initial sil mode based off of swift-mode.
The main additions are some renames, sil instructions, and sil values/etc.

Swift SVN r7424
2013-08-21 20:38:07 +00:00