Home | History | Annotate | Download | only in Chapter2

Lines Matching defs:make_unique

9 // Cloning make_unique here until it's standard in C++14.
10 // Using a namespace to avoid conflicting with MSVC's std::make_unique (which
15 make_unique(Args &&... args) {
204 auto Result = helper::make_unique<NumberExprAST>(NumVal);
231 return helper::make_unique<VariableExprAST>(IdName);
255 return helper::make_unique<CallExprAST>(IdName, std::move(Args));
307 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS),
344 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
355 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));
363 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr",
365 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));