Home | History | Annotate | Download | only in Chapter2

Lines Matching defs:make_unique

10 // Cloning make_unique here until it's standard in C++14.
11 // Using a namespace to avoid conflicting with MSVC's std::make_unique (which
16 make_unique(Args &&... args) {
205 auto Result = helper::make_unique<NumberExprAST>(NumVal);
232 return helper::make_unique<VariableExprAST>(IdName);
256 return helper::make_unique<CallExprAST>(IdName, std::move(Args));
308 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS),
345 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
356 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));
364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr",
366 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));