summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-13 11:28:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-13 11:28:46 +0000
commit828dab341a1099d7f49bf7f05b0a3ad031adf7e8 (patch)
tree41b959baada180cbbf67b53a2bd6be5e7db8fa19 /llvm
parentdbfa6e616c15d7d6be4946194bd252bbd07d051e (diff)
downloadbcm5719-llvm-828dab341a1099d7f49bf7f05b0a3ad031adf7e8.tar.gz
bcm5719-llvm-828dab341a1099d7f49bf7f05b0a3ad031adf7e8.zip
Add bracket that was lost in rL346727 and has been causing buildbot failures for some time.
llvm-svn: 346752
Diffstat (limited to 'llvm')
-rw-r--r--llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
index 76162ae444d..8cbd5d6f2f7 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
@@ -680,7 +680,7 @@ static std::unique_ptr<FunctionAST> ParseTopLevelExpr(unsigned ExprCount) {
if (auto E = ParseExpression()) {
// Make an anonymous proto.
auto Proto = llvm::make_unique<PrototypeAST>
- ("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
+ (("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
}
return nullptr;
OpenPOWER on IntegriCloud