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()
201 NestedNameSpecifierDependence NestedNameSpecifier::getDependence() const { in getDependence()
234 bool NestedNameSpecifier::isDependent() const { in isDependent()
238 bool NestedNameSpecifier::isInstantiationDependent() const { in isInstantiationDependent()
242 bool NestedNameSpecifier::containsUnexpandedParameterPack() const { in containsUnexpandedParameterPack()
246 bool NestedNameSpecifier::containsErrors() const { in containsErrors()
252 void NestedNameSpecifier::print(raw_ostream &OS, const PrintingPolicy &Policy, in print()
338 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(const LangOptions &LO) const { in dump()
342 LLVM_DUMP_METHOD void NestedNameSpecifier::dump() const { dump(llvm::errs()); } in dump()
344 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS) const { in dump()
349 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS, in dump()
355 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { in getLocalDataLength()
362 case NestedNameSpecifier::Global: in getLocalDataLength()
366 case NestedNameSpecifier::Identifier: in getLocalDataLength()
367 case NestedNameSpecifier::Namespace: in getLocalDataLength()
368 case NestedNameSpecifier::NamespaceAlias: in getLocalDataLength()
369 case NestedNameSpecifier::Super: in getLocalDataLength()
374 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalDataLength()
375 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
386 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { in getDataLength()
427 case NestedNameSpecifier::Global: in getLocalSourceRange()
430 case NestedNameSpecifier::Identifier: in getLocalSourceRange()
431 case NestedNameSpecifier::Namespace: in getLocalSourceRange()
432 case NestedNameSpecifier::NamespaceAlias: in getLocalSourceRange()
433 case NestedNameSpecifier::Super: in getLocalSourceRange()
437 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalSourceRange()
438 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
452 if (Qualifier->getKind() != NestedNameSpecifier::TypeSpec && in getTypeLoc()
453 Qualifier->getKind() != NestedNameSpecifier::TypeSpecWithTemplate) in getTypeLoc()
565 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
578 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
590 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
602 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
612 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
622 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper()
630 NestedNameSpecifier *Qualifier, in MakeTrivial()
637 SmallVector<NestedNameSpecifier *, 4> Stack; in MakeTrivial()
638 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
641 NestedNameSpecifier *NNS = Stack.pop_back_val(); in MakeTrivial()
643 case NestedNameSpecifier::Identifier: in MakeTrivial()
644 case NestedNameSpecifier::Namespace: in MakeTrivial()
645 case NestedNameSpecifier::NamespaceAlias: in MakeTrivial()
649 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
650 case NestedNameSpecifier::TypeSpecWithTemplate: { in MakeTrivial()
659 case NestedNameSpecifier::Global: in MakeTrivial()
660 case NestedNameSpecifier::Super: in MakeTrivial()