Lines Matching refs:SoFar

525     auto SoFar = std::make_pair(RK, Pointee);  in collapse()  local
527 const Node *SN = SoFar.second->getSyntaxNode(S); in collapse()
531 SoFar.second = RT->Pointee; in collapse()
532 SoFar.first = std::min(SoFar.first, RT->RK); in collapse()
534 return SoFar; in collapse()
2307 Node *parseCtorDtorName(Node *&SoFar, NameState *State);
2800 AbstractManglingParser<Derived, Alloc>::parseCtorDtorName(Node *&SoFar, in parseCtorDtorName() argument
2802 if (SoFar->getKind() == Node::KSpecialSubstitution) { in parseCtorDtorName()
2803 auto SSK = static_cast<SpecialSubstitution *>(SoFar)->SSK; in parseCtorDtorName()
2809 SoFar = make<ExpandedSpecialSubstitution>(SSK); in parseCtorDtorName()
2810 if (!SoFar) in parseCtorDtorName()
2829 return make<CtorDtorName>(SoFar, false, Variant); in parseCtorDtorName()
2837 return make<CtorDtorName>(SoFar, true, Variant); in parseCtorDtorName()
2876 Node *SoFar = nullptr; in parseNestedName() local
2879 if (SoFar) SoFar = make<NestedName>(SoFar, Comp); in parseNestedName()
2880 else SoFar = Comp; in parseNestedName()
2882 return SoFar != nullptr; in parseNestedName()
2886 SoFar = make<NameType>("std"); in parseNestedName()
2887 if (!SoFar) in parseNestedName()
2896 if (SoFar == nullptr) in parseNestedName()
2905 Subs.push_back(SoFar); in parseNestedName()
2912 if (TA == nullptr || SoFar == nullptr) in parseNestedName()
2914 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseNestedName()
2915 if (!SoFar) in parseNestedName()
2918 Subs.push_back(SoFar); in parseNestedName()
2926 Subs.push_back(SoFar); in parseNestedName()
2935 if (SoFar != S) in parseNestedName()
2942 if (SoFar == nullptr) in parseNestedName()
2944 if (!PushComponent(getDerived().parseCtorDtorName(SoFar, State))) in parseNestedName()
2946 SoFar = getDerived().parseAbiTags(SoFar); in parseNestedName()
2947 if (SoFar == nullptr) in parseNestedName()
2949 Subs.push_back(SoFar); in parseNestedName()
2956 Subs.push_back(SoFar); in parseNestedName()
2959 if (SoFar == nullptr || Subs.empty()) in parseNestedName()
2963 return SoFar; in parseNestedName()
3059 Node *SoFar = nullptr; in parseUnresolvedName() local
3064 SoFar = getDerived().parseUnresolvedType(); in parseUnresolvedName()
3065 if (SoFar == nullptr) in parseUnresolvedName()
3072 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseUnresolvedName()
3073 if (!SoFar) in parseUnresolvedName()
3081 SoFar = make<QualifiedName>(SoFar, Qual); in parseUnresolvedName()
3082 if (!SoFar) in parseUnresolvedName()
3089 return make<QualifiedName>(SoFar, Base); in parseUnresolvedName()
3096 SoFar = getDerived().parseBaseUnresolvedName(); in parseUnresolvedName()
3097 if (SoFar == nullptr) in parseUnresolvedName()
3100 SoFar = make<GlobalQualifiedName>(SoFar); in parseUnresolvedName()
3101 return SoFar; in parseUnresolvedName()
3110 if (SoFar) in parseUnresolvedName()
3111 SoFar = make<QualifiedName>(SoFar, Qual); in parseUnresolvedName()
3113 SoFar = make<GlobalQualifiedName>(Qual); in parseUnresolvedName()
3115 SoFar = Qual; in parseUnresolvedName()
3116 if (!SoFar) in parseUnresolvedName()
3123 SoFar = getDerived().parseUnresolvedType(); in parseUnresolvedName()
3124 if (SoFar == nullptr) in parseUnresolvedName()
3131 SoFar = make<NameWithTemplateArgs>(SoFar, TA); in parseUnresolvedName()
3132 if (!SoFar) in parseUnresolvedName()
3137 assert(SoFar != nullptr); in parseUnresolvedName()
3142 return make<QualifiedName>(SoFar, Base); in parseUnresolvedName()