Lines Matching refs:NestedNameSpecifier

40 NestedNameSpecifier *
41 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert()
42 const NestedNameSpecifier &Mockup) { in FindOrInsert()
47 NestedNameSpecifier *NNS in FindOrInsert()
51 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(Mockup); in FindOrInsert()
58 NestedNameSpecifier *
59 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
60 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create()
64 NestedNameSpecifier Mockup; in Create()
71 NestedNameSpecifier *
72 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
73 NestedNameSpecifier *Prefix, in Create()
80 NestedNameSpecifier Mockup; in Create()
87 NestedNameSpecifier *
88 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
89 NestedNameSpecifier *Prefix, in Create()
96 NestedNameSpecifier Mockup; in Create()
103 NestedNameSpecifier *
104 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
105 NestedNameSpecifier *Prefix, in Create()
108 NestedNameSpecifier Mockup; in Create()
115 NestedNameSpecifier *
116 NestedNameSpecifier::Create(const ASTContext &Context, IdentifierInfo *II) { in Create()
118 NestedNameSpecifier Mockup; in Create()
125 NestedNameSpecifier *
126 NestedNameSpecifier::GlobalSpecifier(const ASTContext &Context) { in GlobalSpecifier()
129 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(); in GlobalSpecifier()
133 NestedNameSpecifier *
134 NestedNameSpecifier::SuperSpecifier(const ASTContext &Context, in SuperSpecifier()
136 NestedNameSpecifier Mockup; in SuperSpecifier()
143 NestedNameSpecifier::SpecifierKind NestedNameSpecifier::getKind() const { in getKind()
169 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace()
177 NamespaceAliasDecl *NestedNameSpecifier::getAsNamespaceAlias() const { in getAsNamespaceAlias()
185 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl()
203 bool NestedNameSpecifier::isDependent() const { in isDependent()
233 bool NestedNameSpecifier::isInstantiationDependent() const { in isInstantiationDependent()
253 bool NestedNameSpecifier::containsUnexpandedParameterPack() const { in containsUnexpandedParameterPack()
274 void NestedNameSpecifier::print(raw_ostream &OS, const PrintingPolicy &Policy, in print()
351 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(const LangOptions &LO) const { in dump()
355 LLVM_DUMP_METHOD void NestedNameSpecifier::dump() const { dump(llvm::errs()); } in dump()
357 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS) const { in dump()
362 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS, in dump()
368 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { in getLocalDataLength()
375 case NestedNameSpecifier::Global: in getLocalDataLength()
379 case NestedNameSpecifier::Identifier: in getLocalDataLength()
380 case NestedNameSpecifier::Namespace: in getLocalDataLength()
381 case NestedNameSpecifier::NamespaceAlias: in getLocalDataLength()
382 case NestedNameSpecifier::Super: in getLocalDataLength()
387 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalDataLength()
388 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
399 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { in getDataLength()
440 case NestedNameSpecifier::Global: in getLocalSourceRange()
443 case NestedNameSpecifier::Identifier: in getLocalSourceRange()
444 case NestedNameSpecifier::Namespace: in getLocalSourceRange()
445 case NestedNameSpecifier::NamespaceAlias: in getLocalSourceRange()
446 case NestedNameSpecifier::Super: in getLocalSourceRange()
450 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalSourceRange()
451 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
465 if (Qualifier->getKind() != NestedNameSpecifier::TypeSpec && in getTypeLoc()
466 Qualifier->getKind() != NestedNameSpecifier::TypeSpecWithTemplate) in getTypeLoc()
576 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
589 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
601 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
613 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
623 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
633 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper()
641 NestedNameSpecifier *Qualifier, in MakeTrivial()
648 SmallVector<NestedNameSpecifier *, 4> Stack; in MakeTrivial()
649 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
652 NestedNameSpecifier *NNS = Stack.pop_back_val(); in MakeTrivial()
654 case NestedNameSpecifier::Identifier: in MakeTrivial()
655 case NestedNameSpecifier::Namespace: in MakeTrivial()
656 case NestedNameSpecifier::NamespaceAlias: in MakeTrivial()
660 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
661 case NestedNameSpecifier::TypeSpecWithTemplate: { in MakeTrivial()
670 case NestedNameSpecifier::Global: in MakeTrivial()
671 case NestedNameSpecifier::Super: in MakeTrivial()