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()
182 bool NestedNameSpecifier::isDependent() const { in isDependent()
212 bool NestedNameSpecifier::isInstantiationDependent() const { in isInstantiationDependent()
232 bool NestedNameSpecifier::containsUnexpandedParameterPack() const { in containsUnexpandedParameterPack()
254 NestedNameSpecifier::print(raw_ostream &OS, in print()
321 void NestedNameSpecifier::dump(const LangOptions &LO) { in dump()
326 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { in getLocalDataLength()
333 case NestedNameSpecifier::Global: in getLocalDataLength()
337 case NestedNameSpecifier::Identifier: in getLocalDataLength()
338 case NestedNameSpecifier::Namespace: in getLocalDataLength()
339 case NestedNameSpecifier::NamespaceAlias: in getLocalDataLength()
340 case NestedNameSpecifier::Super: in getLocalDataLength()
345 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalDataLength()
346 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
357 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { in getDataLength()
400 case NestedNameSpecifier::Global: in getLocalSourceRange()
403 case NestedNameSpecifier::Identifier: in getLocalSourceRange()
404 case NestedNameSpecifier::Namespace: in getLocalSourceRange()
405 case NestedNameSpecifier::NamespaceAlias: in getLocalSourceRange()
406 case NestedNameSpecifier::Super: in getLocalSourceRange()
410 case NestedNameSpecifier::TypeSpecWithTemplate: in getLocalSourceRange()
411 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
425 assert((Qualifier->getKind() == NestedNameSpecifier::TypeSpec || in getTypeLoc()
426 Qualifier->getKind() == NestedNameSpecifier::TypeSpecWithTemplate) && in getTypeLoc()
537 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
550 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
562 Representation = NestedNameSpecifier::Create(Context, Representation, in Extend()
574 Representation = NestedNameSpecifier::Create(Context, Representation, Alias); in Extend()
584 Representation = NestedNameSpecifier::GlobalSpecifier(Context); in MakeGlobal()
594 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD); in MakeSuper()
602 NestedNameSpecifier *Qualifier, in MakeTrivial()
609 SmallVector<NestedNameSpecifier *, 4> Stack; in MakeTrivial()
610 for (NestedNameSpecifier *NNS = Qualifier; NNS; NNS = NNS->getPrefix()) in MakeTrivial()
613 NestedNameSpecifier *NNS = Stack.pop_back_val(); in MakeTrivial()
615 case NestedNameSpecifier::Identifier: in MakeTrivial()
616 case NestedNameSpecifier::Namespace: in MakeTrivial()
617 case NestedNameSpecifier::NamespaceAlias: in MakeTrivial()
621 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
622 case NestedNameSpecifier::TypeSpecWithTemplate: { in MakeTrivial()
631 case NestedNameSpecifier::Global: in MakeTrivial()
632 case NestedNameSpecifier::Super: in MakeTrivial()