Rework r16878. Now we refuse to generate a USR for 'self' in destructors

Filed rdar://16734962 to investigate the real bug.


Swift SVN r16881
This commit is contained in:
Dmitri Hrybenko
2014-04-26 14:12:31 +00:00
parent 63072df530
commit 28b05c99b4
2 changed files with 5 additions and 1 deletions

View File

@@ -1140,7 +1140,7 @@ Optional<BriefAndRawComment> ModuleFile::getCommentForDecl(const Decl *D) {
return Nothing;
auto *VD = dyn_cast<ValueDecl>(D);
if (!VD || isa<ParamDecl>(D))
if (!VD)
return Nothing;
// Compute the USR.