Merge pull request #1969 from jpsim/unused-param-printAnnotatedDeclaration

This commit is contained in:
swift-ci
2016-04-09 14:21:46 -07:00

View File

@@ -397,7 +397,7 @@ static Type findBaseTypeForReplacingArchetype(const ValueDecl *VD, const Type Ty
return Result;
}
static void printAnnotatedDeclaration(const ValueDecl *VD, const Type Ty,
static void printAnnotatedDeclaration(const ValueDecl *VD,
const Type BaseTy,
raw_ostream &OS) {
AnnotatedDeclarationPrinter Printer(OS);
@@ -676,7 +676,7 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
unsigned DeclBegin = SS.size();
{
llvm::raw_svector_ostream OS(SS);
printAnnotatedDeclaration(VD, Ty, BaseType, OS);
printAnnotatedDeclaration(VD, BaseType, OS);
}
unsigned DeclEnd = SS.size();