Lines Matching refs:NestedNameSpecifier

27 NestedNameSpecifier *
28 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert()
29 const NestedNameSpecifier &Mockup) { in FindOrInsert()
34 NestedNameSpecifier *NNS in FindOrInsert()
37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>()) in FindOrInsert()
38 NestedNameSpecifier(Mockup); in FindOrInsert()
45 NestedNameSpecifier *
46 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
47 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create()
51 NestedNameSpecifier Mockup; in Create()
58 NestedNameSpecifier *
59 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
60 NestedNameSpecifier *Prefix, in Create()
67 NestedNameSpecifier Mockup; in Create()
74 NestedNameSpecifier *
75 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
76 NestedNameSpecifier *Prefix, in Create()
83 NestedNameSpecifier Mockup; in Create()
90 NestedNameSpecifier *
91 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
92 NestedNameSpecifier *Prefix, in Create()
95 NestedNameSpecifier Mockup; in Create()
102 NestedNameSpecifier *
103 NestedNameSpecifier::Create(const ASTContext &Context, IdentifierInfo *II) { in Create()
105 NestedNameSpecifier Mockup; in Create()
112 NestedNameSpecifier *
113 NestedNameSpecifier::GlobalSpecifier(const ASTContext &Context) { in GlobalSpecifier()
116 new (Context, llvm::alignOf<NestedNameSpecifier>()) in GlobalSpecifier()
117 NestedNameSpecifier(); in GlobalSpecifier()
121 NestedNameSpecifier *
122 NestedNameSpecifier::SuperSpecifier(const ASTContext &Context, in SuperSpecifier()
124 NestedNameSpecifier Mockup; in SuperSpecifier()
131 NestedNameSpecifier::SpecifierKind NestedNameSpecifier::getKind() const { in getKind()
157 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace()
165 NamespaceAliasDecl *NestedNameSpecifier::getAsNamespaceAlias() const { in getAsNamespaceAlias()
173 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl()
191 bool NestedNameSpecifier::isDependent() const { in isDependent()
221 bool NestedNameSpecifier::isInstantiationDependent() const { in isInstantiationDependent()
241 bool NestedNameSpecifier::containsUnexpandedParameterPack() const { in containsUnexpandedParameterPack()
263 NestedNameSpecifier::print(raw_ostream &OS, in print()
330 void NestedNameSpecifier::dump(const LangOptions &LO) const { in dump()
334 LLVM_DUMP_METHOD void NestedNameSpecifier::dump() const { in dump()
340 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { in getLocalDataLength()
347 case NestedNameSpecifier::Global: in getLocalDataLength()
351 case NestedNameSpecifier::Identifier: in getLocalDataLength()
352 case NestedNameSpecifier::Namespace: in getLocalDataLength()
353 case NestedNameSpecifier::NamespaceAlias: in getLocalDataLength()
354 case NestedNameSpecifier::Super: in getLocalDataLength()
359 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalDataLength()
360 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
371 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { in getDataLength()
414 case NestedNameSpecifier::Global: in getLocalSourceRange()
417 case NestedNameSpecifier::Identifier: in getLocalSourceRange()
418 case NestedNameSpecifier::Namespace: in getLocalSourceRange()
419 case NestedNameSpecifier::NamespaceAlias: in getLocalSourceRange()
420 case NestedNameSpecifier::Super: in getLocalSourceRange()
424 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalSourceRange()
425 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
439 assert((Qualifier->getKind() == NestedNameSpecifier::TypeSpec || in getTypeLoc()
440 Qualifier->getKind() == NestedNameSpecifier::TypeSpecWithTemplate) && in getTypeLoc()
553 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
566 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
578 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
590 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
600 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
610 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper()
618 NestedNameSpecifier *Qualifier, in MakeTrivial()
625 SmallVector<NestedNameSpecifier *, 4> Stack; in MakeTrivial()
626 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
629 NestedNameSpecifier *NNS = Stack.pop_back_val(); in MakeTrivial()
631 case NestedNameSpecifier::Identifier: in MakeTrivial()
632 case NestedNameSpecifier::Namespace: in MakeTrivial()
633 case NestedNameSpecifier::NamespaceAlias: in MakeTrivial()
637 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
638 case NestedNameSpecifier::TypeSpecWithTemplate: { in MakeTrivial()
647 case NestedNameSpecifier::Global: in MakeTrivial()
648 case NestedNameSpecifier::Super: in MakeTrivial()