Lines Matching refs:SoFar
533 auto SoFar = std::make_pair(RK, Pointee); in collapse() local
535 const Node *SN = SoFar.second->getSyntaxNode(S); in collapse()
539 SoFar.second = RT->Pointee; in collapse()
540 SoFar.first = std::min(SoFar.first, RT->RK); in collapse()
542 return SoFar; in collapse()
2551 Node *parseCtorDtorName(Node *&SoFar, NameState *State);
3094 AbstractManglingParser<Derived, Alloc>::parseCtorDtorName(Node *&SoFar, in parseCtorDtorName() argument
3096 if (SoFar->getKind() == Node::KSpecialSubstitution) { in parseCtorDtorName()
3097 auto SSK = static_cast<SpecialSubstitution *>(SoFar)->SSK; in parseCtorDtorName()
3103 SoFar = make<ExpandedSpecialSubstitution>(SSK); in parseCtorDtorName()
3104 if (!SoFar) in parseCtorDtorName()
3124 return make<CtorDtorName>(SoFar, /*IsDtor=*/false, Variant); in parseCtorDtorName()
3132 return make<CtorDtorName>(SoFar, /*IsDtor=*/true, Variant); in parseCtorDtorName()
3171 Node *SoFar = nullptr; in parseNestedName() local
3174 if (SoFar) SoFar = make<NestedName>(SoFar, Comp); in parseNestedName()
3175 else SoFar = Comp; in parseNestedName()
3177 return SoFar != nullptr; in parseNestedName()
3181 SoFar = make<NameType>("std"); in parseNestedName()
3182 if (!SoFar) in parseNestedName()
3191 if (SoFar == nullptr) in parseNestedName()
3200 Subs.push_back(SoFar); in parseNestedName()
3207 if (TA == nullptr || SoFar == nullptr) in parseNestedName()
3209 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseNestedName()
3210 if (!SoFar) in parseNestedName()
3213 Subs.push_back(SoFar); in parseNestedName()
3221 Subs.push_back(SoFar); in parseNestedName()
3230 if (SoFar != S) in parseNestedName()
3237 if (SoFar == nullptr) in parseNestedName()
3239 if (!PushComponent(getDerived().parseCtorDtorName(SoFar, State))) in parseNestedName()
3241 SoFar = getDerived().parseAbiTags(SoFar); in parseNestedName()
3242 if (SoFar == nullptr) in parseNestedName()
3244 Subs.push_back(SoFar); in parseNestedName()
3251 Subs.push_back(SoFar); in parseNestedName()
3254 if (SoFar == nullptr || Subs.empty()) in parseNestedName()
3258 return SoFar; in parseNestedName()
3354 Node *SoFar = nullptr; in parseUnresolvedName() local
3359 SoFar = getDerived().parseUnresolvedType(); in parseUnresolvedName()
3360 if (SoFar == nullptr) in parseUnresolvedName()
3367 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseUnresolvedName()
3368 if (!SoFar) in parseUnresolvedName()
3376 SoFar = make<QualifiedName>(SoFar, Qual); in parseUnresolvedName()
3377 if (!SoFar) in parseUnresolvedName()
3384 return make<QualifiedName>(SoFar, Base); in parseUnresolvedName()
3391 SoFar = getDerived().parseBaseUnresolvedName(); in parseUnresolvedName()
3392 if (SoFar == nullptr) in parseUnresolvedName()
3395 SoFar = make<GlobalQualifiedName>(SoFar); in parseUnresolvedName()
3396 return SoFar; in parseUnresolvedName()
3405 if (SoFar) in parseUnresolvedName()
3406 SoFar = make<QualifiedName>(SoFar, Qual); in parseUnresolvedName()
3408 SoFar = make<GlobalQualifiedName>(Qual); in parseUnresolvedName()
3410 SoFar = Qual; in parseUnresolvedName()
3411 if (!SoFar) in parseUnresolvedName()
3418 SoFar = getDerived().parseUnresolvedType(); in parseUnresolvedName()
3419 if (SoFar == nullptr) in parseUnresolvedName()
3426 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseUnresolvedName()
3427 if (!SoFar) in parseUnresolvedName()
3432 assert(SoFar != nullptr); in parseUnresolvedName()
3437 return make<QualifiedName>(SoFar, Base); in parseUnresolvedName()