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 *NestedNameSpecifier::Create(const ASTContext &Context, in Create()
59 NestedNameSpecifier *Prefix, 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 *NestedNameSpecifier::Create(const ASTContext &Context, 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()
339 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(const LangOptions &LO) const { in dump()
343 LLVM_DUMP_METHOD void NestedNameSpecifier::dump() const { dump(llvm::errs()); } in dump()
345 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS) const { in dump()
350 LLVM_DUMP_METHOD void NestedNameSpecifier::dump(llvm::raw_ostream &OS, in dump()
356 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { in getLocalDataLength()
363 case NestedNameSpecifier::Global: in getLocalDataLength()
367 case NestedNameSpecifier::Identifier: in getLocalDataLength()
368 case NestedNameSpecifier::Namespace: in getLocalDataLength()
369 case NestedNameSpecifier::NamespaceAlias: in getLocalDataLength()
370 case NestedNameSpecifier::Super: in getLocalDataLength()
375 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalDataLength()
376 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
387 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { in getDataLength()
428 case NestedNameSpecifier::Global: in getLocalSourceRange()
431 case NestedNameSpecifier::Identifier: in getLocalSourceRange()
432 case NestedNameSpecifier::Namespace: in getLocalSourceRange()
433 case NestedNameSpecifier::NamespaceAlias: in getLocalSourceRange()
434 case NestedNameSpecifier::Super: in getLocalSourceRange()
439 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalSourceRange()
440 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
454 if (Qualifier->getKind() != NestedNameSpecifier::TypeSpec && in getTypeLoc()
455 Qualifier->getKind() != NestedNameSpecifier::TypeSpecWithTemplate) in getTypeLoc()
567 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
580 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
592 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
604 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
614 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
624 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper()
632 NestedNameSpecifier *Qualifier, in MakeTrivial()
639 SmallVector<NestedNameSpecifier *, 4> Stack; in MakeTrivial()
640 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
643 NestedNameSpecifier *NNS = Stack.pop_back_val(); in MakeTrivial()
645 case NestedNameSpecifier::Identifier: in MakeTrivial()
646 case NestedNameSpecifier::Namespace: in MakeTrivial()
647 case NestedNameSpecifier::NamespaceAlias: in MakeTrivial()
651 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
652 case NestedNameSpecifier::TypeSpecWithTemplate: { in MakeTrivial()
661 case NestedNameSpecifier::Global: in MakeTrivial()
662 case NestedNameSpecifier::Super: in MakeTrivial()