Use actual Identifiers for private discriminators, rather than strings.

This is useful both for caching purposes and for comparison of discriminators
(something the debugger will need to do when looking up a particular decl).

No observable functionality change.

Swift SVN r21610
This commit is contained in:
Jordan Rose
2014-08-30 17:26:59 +00:00
parent ea26f65b62
commit fcfd44c756
9 changed files with 43 additions and 36 deletions

View File

@@ -185,8 +185,7 @@ public:
virtual void
collectLinkLibraries(Module::LinkLibraryCallback callback) const override;
void getDiscriminatorForPrivateValue(SmallVectorImpl<char> &buffer,
const ValueDecl *D) const override;
Identifier getDiscriminatorForPrivateValue(const ValueDecl *D) const override;
virtual StringRef getFilename() const override;