Lines Matching refs:allocator
377 llvm::BumpPtrAllocator &allocator() { return Arena.getAllocator(); }
722 new (allocator()) syntax::UnknownDeclaration(), D);
766 syntax::Declaration *Result = new (allocator()) syntax::SimpleDeclaration;
799 new (allocator()) syntax::CompoundStatement, S);
806 new (allocator()) syntax::UnknownStatement, S);
874 new (allocator()) syntax::UnknownExpression, E);
891 return new (allocator()) syntax::IntegerUserDefinedLiteralExpression;
893 return new (allocator()) syntax::FloatUserDefinedLiteralExpression;
895 return new (allocator()) syntax::CharUserDefinedLiteralExpression;
897 return new (allocator()) syntax::StringUserDefinedLiteralExpression;
912 return new (allocator()) syntax::IntegerUserDefinedLiteralExpression;
915 return new (allocator()) syntax::FloatUserDefinedLiteralExpression;
988 return new (allocator()) syntax::GlobalNameSpecifier;
993 auto *NS = new (allocator()) syntax::IdentifierNameSpecifier;
1003 auto *NS = new (allocator()) syntax::SimpleTemplateNameSpecifier;
1011 auto *NS = new (allocator()) syntax::DecltypeNameSpecifier;
1039 new (allocator()) syntax::NestedNameSpecifier,
1055 auto *TheUnqualifiedId = new (allocator()) syntax::UnqualifiedId;
1063 auto *TheIdExpression = new (allocator()) syntax::IdExpression;
1091 new (allocator()) syntax::MemberExpression, S);
1115 new (allocator()) syntax::ThisExpression, S);
1125 new (allocator()) syntax::ParenExpression, S);
1132 new (allocator()) syntax::IntegerLiteralExpression, S);
1139 new (allocator()) syntax::CharacterLiteralExpression, S);
1146 new (allocator()) syntax::FloatingLiteralExpression, S);
1153 new (allocator()) syntax::StringLiteralExpression, S);
1160 new (allocator()) syntax::BoolLiteralExpression, S);
1167 new (allocator()) syntax::CxxNullPtrExpression, S);
1178 new (allocator()) syntax::PostfixUnaryOperatorExpression,
1182 new (allocator()) syntax::PrefixUnaryOperatorExpression,
1194 new (allocator()) syntax::BinaryOperatorExpression, S);
1211 auto *Arguments = new (allocator()) syntax::CallArguments;
1236 new (allocator()) syntax::CallExpression, S);
1279 new (allocator()) syntax::BinaryOperatorExpression, S);
1286 new (allocator()) syntax::PrefixUnaryOperatorExpression,
1294 new (allocator()) syntax::PostfixUnaryOperatorExpression,
1314 new (allocator()) syntax::CallExpression, S);
1334 Builder.foldNode(Tokens, new (allocator()) syntax::NamespaceDefinition, S);
1351 new (allocator()) syntax::ParenDeclarator, L);
1361 new (allocator()) syntax::ArraySubscript, L);
1373 auto *Parameters = new (allocator()) syntax::ParameterDeclarationList;
1389 new (allocator()) syntax::ParametersAndQualifiers, L);
1416 new (allocator()) syntax::MemberPointer, L);
1425 new (allocator()) syntax::DeclarationStatement, S);
1431 new (allocator()) syntax::EmptyStatement, S);
1440 new (allocator()) syntax::SwitchStatement, S);
1450 new (allocator()) syntax::CaseStatement, S);
1459 new (allocator()) syntax::DefaultStatement, S);
1473 new (allocator()) syntax::IfStatement, S);
1481 new (allocator()) syntax::ForStatement, S);
1490 new (allocator()) syntax::WhileStatement, S);
1498 new (allocator()) syntax::ContinueStatement, S);
1506 new (allocator()) syntax::BreakStatement, S);
1515 new (allocator()) syntax::ReturnStatement, S);
1523 new (allocator()) syntax::RangeBasedForStatement, S);
1529 new (allocator()) syntax::EmptyDeclaration, S);
1537 new (allocator()) syntax::StaticAssertDeclaration, S);
1543 new (allocator()) syntax::LinkageSpecificationDeclaration,
1550 new (allocator()) syntax::NamespaceAliasDefinition, S);
1556 new (allocator()) syntax::UsingNamespaceDirective, S);
1562 new (allocator()) syntax::UsingDeclaration, S);
1568 new (allocator()) syntax::UsingDeclaration, S);
1574 new (allocator()) syntax::UsingDeclaration, S);
1580 new (allocator()) syntax::TypeAliasDeclaration, S);
1595 Builder.markChild(new (allocator()) syntax::DeclaratorList,
1598 new (allocator()) syntax::SimpleDeclaration, D);
1602 auto *N = new (allocator()) syntax::SimpleDeclarator;
1613 auto *DL = new (allocator()) syntax::DeclaratorList;
1619 new (allocator()) syntax::SimpleDeclaration, D);
1634 ReturnDeclarator = new (allocator()) syntax::SimpleDeclarator;
1647 auto *R = new (allocator()) syntax::TrailingReturnType;
1662 Range, new (allocator()) syntax::ExplicitTemplateInstantiation, From);
1671 auto *N = new (allocator()) syntax::TemplateDeclaration;
1678 llvm::BumpPtrAllocator &allocator() { return Builder.allocator(); }
1726 ChildNode = new (allocator()) syntax::ExpressionStatement;