[AST] The ASTContext parameter in FuncDecl::getResultType() is not really needed.

Swift SVN r9798
This commit is contained in:
Argyrios Kyrtzidis
2013-10-30 17:09:56 +00:00
parent 922358797d
commit e31c93add3
7 changed files with 8 additions and 8 deletions

View File

@@ -995,7 +995,7 @@ public:
Patterns[i]->print(OS);
OS << " -> ";
}
Type ResultType = FD->getResultType(Ctx);
Type ResultType = FD->getResultType();
if (ResultType->isVoid())
OS << "Void";
else