[llvm] r346730 - [BuildingAJIT] Fixing the build by inserting a forgotten paren.
George Karpenkov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 12 18:59:27 PST 2018
Author: george.karpenkov
Date: Mon Nov 12 18:59:27 2018
New Revision: 346730
URL: http://llvm.org/viewvc/llvm-project?rev=346730&view=rev
Log:
[BuildingAJIT] Fixing the build by inserting a forgotten paren.
Modified:
llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
Modified: llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp?rev=346730&r1=346729&r2=346730&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp (original)
+++ llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp Mon Nov 12 18:59:27 2018
@@ -679,7 +679,7 @@ static std::unique_ptr<FunctionAST> Pars
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));
}
More information about the llvm-commits
mailing list