Lines Matching refs:A

40 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A,  in createLeaf()  argument
50 auto *Leaf = new (A.getAllocator()) syntax::Leaf( in createLeaf()
57 syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A, in createLeaf() argument
65 return createLeaf(A, TBTM, K, Spelling); in createLeaf()
70 syntax::Tree *allocateTree(syntax::Arena &A, syntax::NodeKind Kind) { in allocateTree() argument
76 return new (A.getAllocator()) syntax::TranslationUnit; in allocateTree()
78 return new (A.getAllocator()) syntax::UnknownExpression; in allocateTree()
80 return new (A.getAllocator()) syntax::ParenExpression; in allocateTree()
82 return new (A.getAllocator()) syntax::ThisExpression; in allocateTree()
84 return new (A.getAllocator()) syntax::IntegerLiteralExpression; in allocateTree()
86 return new (A.getAllocator()) syntax::CharacterLiteralExpression; in allocateTree()
88 return new (A.getAllocator()) syntax::FloatingLiteralExpression; in allocateTree()
90 return new (A.getAllocator()) syntax::StringLiteralExpression; in allocateTree()
92 return new (A.getAllocator()) syntax::BoolLiteralExpression; in allocateTree()
94 return new (A.getAllocator()) syntax::CxxNullPtrExpression; in allocateTree()
96 return new (A.getAllocator()) syntax::IntegerUserDefinedLiteralExpression; in allocateTree()
98 return new (A.getAllocator()) syntax::FloatUserDefinedLiteralExpression; in allocateTree()
100 return new (A.getAllocator()) syntax::CharUserDefinedLiteralExpression; in allocateTree()
102 return new (A.getAllocator()) syntax::StringUserDefinedLiteralExpression; in allocateTree()
104 return new (A.getAllocator()) syntax::PrefixUnaryOperatorExpression; in allocateTree()
106 return new (A.getAllocator()) syntax::PostfixUnaryOperatorExpression; in allocateTree()
108 return new (A.getAllocator()) syntax::BinaryOperatorExpression; in allocateTree()
110 return new (A.getAllocator()) syntax::UnqualifiedId; in allocateTree()
112 return new (A.getAllocator()) syntax::IdExpression; in allocateTree()
114 return new (A.getAllocator()) syntax::CallExpression; in allocateTree()
116 return new (A.getAllocator()) syntax::UnknownStatement; in allocateTree()
118 return new (A.getAllocator()) syntax::DeclarationStatement; in allocateTree()
120 return new (A.getAllocator()) syntax::EmptyStatement; in allocateTree()
122 return new (A.getAllocator()) syntax::SwitchStatement; in allocateTree()
124 return new (A.getAllocator()) syntax::CaseStatement; in allocateTree()
126 return new (A.getAllocator()) syntax::DefaultStatement; in allocateTree()
128 return new (A.getAllocator()) syntax::IfStatement; in allocateTree()
130 return new (A.getAllocator()) syntax::ForStatement; in allocateTree()
132 return new (A.getAllocator()) syntax::WhileStatement; in allocateTree()
134 return new (A.getAllocator()) syntax::ContinueStatement; in allocateTree()
136 return new (A.getAllocator()) syntax::BreakStatement; in allocateTree()
138 return new (A.getAllocator()) syntax::ReturnStatement; in allocateTree()
140 return new (A.getAllocator()) syntax::RangeBasedForStatement; in allocateTree()
142 return new (A.getAllocator()) syntax::ExpressionStatement; in allocateTree()
144 return new (A.getAllocator()) syntax::CompoundStatement; in allocateTree()
146 return new (A.getAllocator()) syntax::UnknownDeclaration; in allocateTree()
148 return new (A.getAllocator()) syntax::EmptyDeclaration; in allocateTree()
150 return new (A.getAllocator()) syntax::StaticAssertDeclaration; in allocateTree()
152 return new (A.getAllocator()) syntax::LinkageSpecificationDeclaration; in allocateTree()
154 return new (A.getAllocator()) syntax::SimpleDeclaration; in allocateTree()
156 return new (A.getAllocator()) syntax::TemplateDeclaration; in allocateTree()
158 return new (A.getAllocator()) syntax::ExplicitTemplateInstantiation; in allocateTree()
160 return new (A.getAllocator()) syntax::NamespaceDefinition; in allocateTree()
162 return new (A.getAllocator()) syntax::NamespaceAliasDefinition; in allocateTree()
164 return new (A.getAllocator()) syntax::UsingNamespaceDirective; in allocateTree()
166 return new (A.getAllocator()) syntax::UsingDeclaration; in allocateTree()
168 return new (A.getAllocator()) syntax::TypeAliasDeclaration; in allocateTree()
170 return new (A.getAllocator()) syntax::SimpleDeclarator; in allocateTree()
172 return new (A.getAllocator()) syntax::ParenDeclarator; in allocateTree()
174 return new (A.getAllocator()) syntax::ArraySubscript; in allocateTree()
176 return new (A.getAllocator()) syntax::TrailingReturnType; in allocateTree()
178 return new (A.getAllocator()) syntax::ParametersAndQualifiers; in allocateTree()
180 return new (A.getAllocator()) syntax::MemberPointer; in allocateTree()
182 return new (A.getAllocator()) syntax::GlobalNameSpecifier; in allocateTree()
184 return new (A.getAllocator()) syntax::DecltypeNameSpecifier; in allocateTree()
186 return new (A.getAllocator()) syntax::IdentifierNameSpecifier; in allocateTree()
188 return new (A.getAllocator()) syntax::SimpleTemplateNameSpecifier; in allocateTree()
190 return new (A.getAllocator()) syntax::NestedNameSpecifier; in allocateTree()
192 return new (A.getAllocator()) syntax::MemberExpression; in allocateTree()
194 return new (A.getAllocator()) syntax::CallArguments; in allocateTree()
196 return new (A.getAllocator()) syntax::ParameterDeclarationList; in allocateTree()
198 return new (A.getAllocator()) syntax::DeclaratorList; in allocateTree()
205 syntax::Arena &A, in createTree() argument
208 auto *T = allocateTree(A, K); in createTree()
217 syntax::Node *clang::syntax::deepCopyExpandingMacros(syntax::Arena &A, in deepCopyExpandingMacros() argument
223 return createLeaf(A, TBTM, TBTM.getToken(L->getTokenKey())->kind(), in deepCopyExpandingMacros()
230 Children.push_back({deepCopyExpandingMacros(A, TBTM, Child), Child->getRole()}); in deepCopyExpandingMacros()
232 return createTree(A, Children, N->getKind()); in deepCopyExpandingMacros()
235 syntax::EmptyStatement *clang::syntax::createEmptyStatement(syntax::Arena &A, TokenBufferTokenMana… in createEmptyStatement() argument
237 createTree(A, {{createLeaf(A, TBTM, tok::semi), NodeRole::Unknown}}, in createEmptyStatement()