diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-11-13 02:59:27 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-11-13 02:59:27 +0000 |
commit | c9aef8cd0ead9a3999f7398eb78456250ea1948d (patch) | |
tree | e7696e8179fd138b25cb07c66cebfe475da53a6d /llvm/examples | |
parent | 65051c83b9bc30b80cd65310b6ad3bc2f43ffea1 (diff) | |
download | bcm5719-llvm-c9aef8cd0ead9a3999f7398eb78456250ea1948d.tar.gz bcm5719-llvm-c9aef8cd0ead9a3999f7398eb78456250ea1948d.zip |
[BuildingAJIT] Fixing the build by inserting a forgotten paren.
llvm-svn: 346730
Diffstat (limited to 'llvm/examples')
-rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp index 76162ae444d..e7c3624aa04 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp @@ -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)); } |