Commit Graph

9 Commits

Author SHA1 Message Date
John McCall
dc4431ebff Split addressors into unsafe, owning, and pinning variants.
Change all the existing addressors to the unsafe variant.

Update the addressor mangling to include the variant.

The addressor and mutable-addressor may be any of the
variants, independent of the choice for the other.

SILGen and code synthesis for the new variants is still
untested.

Swift SVN r24387
2015-01-13 03:09:16 +00:00
Argyrios Kyrtzidis
2e99e4da12 [IDE] Fix crash when trying to get the USR of an invalid enum element.
rdar://18314290

Swift SVN r21937
2014-09-13 03:54:11 +00:00
Argyrios Kyrtzidis
918f373d97 [AST] For USR generation, ignore symbols coming from the builtin module.
Swift SVN r17858
2014-05-11 00:00:57 +00:00
Argyrios Kyrtzidis
cc0fa4e1f7 [AST] Ignore unnamed vars for USR generation.
Swift SVN r17831
2014-05-10 19:15:09 +00:00
Argyrios Kyrtzidis
489d1d62cb [IDE] ide::printDeclUSR() should not try to get the USR for ValueDecls without types, due to invalid code.
Test case on SourceKit side.
Fixes crash of rdar://16746734.

Swift SVN r17023
2014-04-29 06:46:04 +00:00
Dmitri Hrybenko
28b05c99b4 Rework r16878. Now we refuse to generate a USR for 'self' in destructors
Filed rdar://16734962 to investigate the real bug.


Swift SVN r16881
2014-04-26 14:12:31 +00:00
Dmitri Hrybenko
c2354eb365 USR generation: generate USRs for imported macros
I do feel bad about introducing ClangModuleLoader, but it is better than a
layering violation (using libClangImporter from libAST).


Swift SVN r15679
2014-03-31 15:13:00 +00:00
Dmitri Hrybenko
866511e27d Add mangling for SubscriptDecls to allow us to produce USRs for them
<rdar://problem/16237251> USR generator skips SubscriptDecls


Swift SVN r14923
2014-03-11 18:03:04 +00:00
Dmitri Hrybenko
49754619ee Move USR generation to AST library, so that Serialization library can use it
Swift SVN r14681
2014-03-05 11:31:31 +00:00