[llvm] r346752 - Add bracket that was lost in rL346727 and has been causing buildbot failures for some time.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 03:28:46 PST 2018
Author: rksimon
Date: Tue Nov 13 03:28:46 2018
New Revision: 346752
URL: http://llvm.org/viewvc/llvm-project?rev=346752&view=rev
Log:
Add bracket that was lost in rL346727 and has been causing buildbot failures for some time.
Modified:
llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
Modified: llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp?rev=346752&r1=346751&r2=346752&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp (original)
+++ llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp Tue Nov 13 03:28:46 2018
@@ -680,7 +680,7 @@ static std::unique_ptr<FunctionAST> Pars
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;
More information about the llvm-commits
mailing list