diff --git a/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp b/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp index 76162ae444d..e7c3624aa04 100644 --- a/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp +++ b/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp @@ -679,7 +679,7 @@ static std::unique_ptr ParseDefinition() { static std::unique_ptr ParseTopLevelExpr(unsigned ExprCount) { if (auto E = ParseExpression()) { // Make an anonymous proto. - auto Proto = llvm::make_unique + auto Proto = llvm::make_unique( ("__anon_expr" + Twine(ExprCount)).str(), std::vector()); return llvm::make_unique(std::move(Proto), std::move(E)); }