[BuildingAJIT] Fixing the build by inserting a forgotten paren.

llvm-svn: 346730
This commit is contained in:
George Karpenkov 2018-11-13 02:59:27 +00:00
parent f0df5312fa
commit 23efec9b2e

View File

@ -679,7 +679,7 @@ static std::unique_ptr<FunctionAST> ParseDefinition() {
static std::unique_ptr<FunctionAST> ParseTopLevelExpr(unsigned ExprCount) {
if (auto E = ParseExpression()) {
// Make an anonymous proto.
auto Proto = llvm::make_unique<PrototypeAST>
auto Proto = llvm::make_unique<PrototypeAST>(
("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
}