Home | History | Annotate | Download | only in Chapter2

Lines Matching refs:unique_ptr

14     typename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type
16 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
121 std::unique_ptr<ExprAST> LHS, RHS;
124 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS,
125 std::unique_ptr<ExprAST> RHS)
132 std::vector<std::unique_ptr<ExprAST>> Args;
136 std::vector<std::unique_ptr<ExprAST>> Args)
154 std::unique_ptr<PrototypeAST> Proto;
155 std::unique_ptr<ExprAST> Body;
158 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
159 std::unique_ptr<ExprAST> Body)
191 std::unique_ptr<ExprAST> Error(const char *Str) {
195 std::unique_ptr<PrototypeAST> ErrorP(const char *Str) {
200 static std::unique_ptr<ExprAST> ParseExpression();
203 static std::unique_ptr<ExprAST> ParseNumberExpr() {
210 static std::unique_ptr<ExprAST> ParseParenExpr() {
225 static std::unique_ptr<ExprAST> ParseIdentifierExpr() {
235 std::vector<std::unique_ptr<ExprAST>> Args;
262 static std::unique_ptr<ExprAST> ParsePrimary() {
277 static std::unique_ptr<ExprAST> ParseBinOpRHS(int ExprPrec,
278 std::unique_ptr<ExprAST> LHS) {
315 static std::unique_ptr<ExprAST> ParseExpression() {
325 static std::unique_ptr<PrototypeAST> ParsePrototype() {
348 static std::unique_ptr<FunctionAST> ParseDefinition() {
360 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
371 static std::unique_ptr<PrototypeAST> ParseExtern() {