/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 40 NestedNameSpecifier * 51 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(Mockup); in FindOrInsert() 58 NestedNameSpecifier * 71 NestedNameSpecifier * 87 NestedNameSpecifier * 103 NestedNameSpecifier * 115 NestedNameSpecifier * 125 NestedNameSpecifier * 129 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(); in GlobalSpecifier() 133 NestedNameSpecifier * [all …]
|
H A D | QualTypeNames.cpp | 30 static NestedNameSpecifier *createNestedNameSpecifier( 60 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName() 217 case NestedNameSpecifier::Global: in getFullyQualifiedNestedNameSpecifier() 220 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier() 223 case NestedNameSpecifier::NamespaceAlias: in getFullyQualifiedNestedNameSpecifier() 232 case NestedNameSpecifier::Identifier: in getFullyQualifiedNestedNameSpecifier() 238 case NestedNameSpecifier::Super: in getFullyQualifiedNestedNameSpecifier() 239 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier() 351 return NestedNameSpecifier::Create( in createNestedNameSpecifier() 371 return NestedNameSpecifier::Create( in createNestedNameSpecifier() [all …]
|
H A D | ASTTypeTraits.cpp | 179 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print() 182 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
|
H A D | ODRHash.cpp | 112 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier() 122 case NestedNameSpecifier::Identifier: in AddNestedNameSpecifier() 125 case NestedNameSpecifier::Namespace: in AddNestedNameSpecifier() 128 case NestedNameSpecifier::NamespaceAlias: in AddNestedNameSpecifier() 131 case NestedNameSpecifier::TypeSpec: in AddNestedNameSpecifier() 132 case NestedNameSpecifier::TypeSpecWithTemplate: in AddNestedNameSpecifier() 135 case NestedNameSpecifier::Global: in AddNestedNameSpecifier() 136 case NestedNameSpecifier::Super: in AddNestedNameSpecifier() 846 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
|
H A D | ItaniumMangle.cpp | 1289 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix() 1299 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix() 1302 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix() 1310 case NestedNameSpecifier::NamespaceAlias: in mangleUnresolvedPrefix() 1319 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix() 1342 case NestedNameSpecifier::Identifier: in mangleUnresolvedPrefix() 2028 case NestedNameSpecifier::Global: in manglePrefix() 2032 case NestedNameSpecifier::Super: in manglePrefix() 2035 case NestedNameSpecifier::Namespace: in manglePrefix() 2043 case NestedNameSpecifier::TypeSpec: in manglePrefix() [all …]
|
H A D | ASTStructuralEquivalence.cpp | 108 NestedNameSpecifier *NNS1, 109 NestedNameSpecifier *NNS2); 452 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent() 457 NestedNameSpecifier *Prefix1 = NNS1->getPrefix(), in IsStructurallyEquivalent() 467 case NestedNameSpecifier::Identifier: in IsStructurallyEquivalent() 470 case NestedNameSpecifier::Namespace: in IsStructurallyEquivalent() 473 case NestedNameSpecifier::NamespaceAlias: in IsStructurallyEquivalent() 476 case NestedNameSpecifier::TypeSpec: in IsStructurallyEquivalent() 477 case NestedNameSpecifier::TypeSpecWithTemplate: in IsStructurallyEquivalent() 480 case NestedNameSpecifier::Global: in IsStructurallyEquivalent() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | NestedNameSpecifier.h | 50 class NestedNameSpecifier : public llvm::FoldingSetNode { 106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() function 110 NestedNameSpecifier(const NestedNameSpecifier &Other) = default; 118 NestedNameSpecifier &operator=(const NestedNameSpecifier &) = delete; 125 static NestedNameSpecifier *Create(const ASTContext &Context, 130 static NestedNameSpecifier *Create(const ASTContext &Context, 135 static NestedNameSpecifier *Create(const ASTContext &Context, 140 static NestedNameSpecifier *Create(const ASTContext &Context, 244 NestedNameSpecifier *Qualifier = nullptr; 274 NestedNameSpecifier *getNestedNameSpecifier() const { in getNestedNameSpecifier() [all …]
|
H A D | AbstractBasicReader.h | 247 NestedNameSpecifier *readNestedNameSpecifier() { in readNestedNameSpecifier() 251 NestedNameSpecifier *cur = nullptr; in readNestedNameSpecifier() 257 case NestedNameSpecifier::Identifier: in readNestedNameSpecifier() 258 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier() 262 case NestedNameSpecifier::Namespace: in readNestedNameSpecifier() 263 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier() 267 case NestedNameSpecifier::NamespaceAlias: in readNestedNameSpecifier() 268 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier() 272 case NestedNameSpecifier::TypeSpec: in readNestedNameSpecifier() 279 case NestedNameSpecifier::Global: in readNestedNameSpecifier() [all …]
|
H A D | AbstractBasicWriter.h | 225 void writeNestedNameSpecifier(NestedNameSpecifier *NNS) { in writeNestedNameSpecifier() 228 SmallVector<NestedNameSpecifier *, 8> nestedNames; in writeNestedNameSpecifier() 239 NestedNameSpecifier::SpecifierKind kind = NNS->getKind(); in writeNestedNameSpecifier() 242 case NestedNameSpecifier::Identifier: in writeNestedNameSpecifier() 246 case NestedNameSpecifier::Namespace: in writeNestedNameSpecifier() 250 case NestedNameSpecifier::NamespaceAlias: in writeNestedNameSpecifier() 254 case NestedNameSpecifier::TypeSpec: in writeNestedNameSpecifier() 255 case NestedNameSpecifier::TypeSpecWithTemplate: in writeNestedNameSpecifier() 259 case NestedNameSpecifier::Global: in writeNestedNameSpecifier() 263 case NestedNameSpecifier::Super: in writeNestedNameSpecifier()
|
H A D | TemplateName.h | 33 class NestedNameSpecifier; variable 443 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier; 452 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName() 474 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile() 499 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier; 522 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName() 527 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName() 533 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName() 538 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName() 575 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile() [all …]
|
H A D | ODRHash.h | 30 class NestedNameSpecifier; variable 95 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
|
H A D | ASTContext.h | 183 friend class NestedNameSpecifier; variable 255 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers; 256 mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr; 1629 NestedNameSpecifier *NNS, 1634 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, 1637 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, 2167 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS, 2171 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS, 2173 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS, 2618 NestedNameSpecifier * [all …]
|
H A D | ASTImporter.h | 406 llvm::Expected<NestedNameSpecifier *> Import(NestedNameSpecifier *FromNNS);
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | TypoCorrection.h | 38 class NestedNameSpecifier; variable 60 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0, 68 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr, 76 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr, 91 NestedNameSpecifier *getCorrectionSpecifier() const { in getCorrectionSpecifier() 95 void setCorrectionSpecifier(NestedNameSpecifier *NNS) { in setCorrectionSpecifier() 267 NestedNameSpecifier *CorrectionNameSpec = nullptr; 286 NestedNameSpecifier *TypoNNS = nullptr) 323 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS() 349 NestedNameSpecifier *TypoNNS; [all …]
|
H A D | SemaInternal.h | 215 NestedNameSpecifier* NameSpecifier; 235 NestedNameSpecifier *&NNS); 282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaCXXScopeSpec.cpp | 141 case NestedNameSpecifier::Identifier: in computeDeclContext() 144 case NestedNameSpecifier::Namespace: in computeDeclContext() 150 case NestedNameSpecifier::TypeSpec: in computeDeclContext() 157 case NestedNameSpecifier::Global: in computeDeclContext() 160 case NestedNameSpecifier::Super: in computeDeclContext() 1010 NestedNameSpecifier *NNS; 1066 case NestedNameSpecifier::Global: in ShouldEnterDeclaratorScope() 1067 case NestedNameSpecifier::Namespace: in ShouldEnterDeclaratorScope() 1073 case NestedNameSpecifier::Identifier: in ShouldEnterDeclaratorScope() 1074 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope() [all …]
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 211 const NestedNameSpecifier *NNS = DNT->getQualifier(); in VisitDependentNameTypeLoc() 283 case NestedNameSpecifier::Identifier: in indexNestedNameSpecifierLoc() 284 case NestedNameSpecifier::Global: in indexNestedNameSpecifierLoc() 285 case NestedNameSpecifier::Super: in indexNestedNameSpecifierLoc() 288 case NestedNameSpecifier::Namespace: in indexNestedNameSpecifierLoc() 292 case NestedNameSpecifier::NamespaceAlias: in indexNestedNameSpecifierLoc() 297 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc() 298 case NestedNameSpecifier::TypeSpecWithTemplate: in indexNestedNameSpecifierLoc()
|
/openbsd/gnu/llvm/clang/include/clang/Tooling/Refactoring/ |
H A D | Lookup.h | 24 class NestedNameSpecifier; variable 41 std::string replaceNestedName(const NestedNameSpecifier *Use,
|
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/ |
H A D | Lookup.cpp | 112 static bool isFullyQualified(const NestedNameSpecifier *NNS) { in isFullyQualified() 114 if (NNS->getKind() == NestedNameSpecifier::Global) in isFullyQualified() 185 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use, in replaceNestedName()
|
/openbsd/gnu/llvm/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 92 DeclarationFragmentsBuilder::getFragmentsForNNS(const NestedNameSpecifier *NNS, in getFragmentsForNNS() 100 case NestedNameSpecifier::Identifier: in getFragmentsForNNS() 105 case NestedNameSpecifier::Namespace: { in getFragmentsForNNS() 116 case NestedNameSpecifier::NamespaceAlias: { in getFragmentsForNNS() 126 case NestedNameSpecifier::Global: in getFragmentsForNNS() 130 case NestedNameSpecifier::Super: in getFragmentsForNNS() 135 case NestedNameSpecifier::TypeSpecWithTemplate: in getFragmentsForNNS() 142 case NestedNameSpecifier::TypeSpec: { in getFragmentsForNNS() 238 if (const NestedNameSpecifier *NNS = ET->getQualifier()) in getFragmentsForType()
|
/openbsd/gnu/llvm/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 122 else if (const NestedNameSpecifier *NNS = in findMatch() 123 DynNode.get<NestedNameSpecifier>()) in findMatch() 220 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier() 346 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse() 348 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse() 503 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS); 703 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match() 1090 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch() 1091 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch() 1595 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher() [all …]
|
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 114 NestedNameSpecifierLoc NestedNameSpecifier = in StartLocationForType() local 116 if (NestedNameSpecifier.getNestedNameSpecifier()) in StartLocationForType() 117 return NestedNameSpecifier.getBeginLoc(); in StartLocationForType() 140 NestedNameSpecifier *GetNestedNameForType(TypeLoc TL) { in GetNestedNameForType() 173 const NestedNameSpecifier *Specifier;
|
/openbsd/gnu/llvm/clang/lib/Tooling/Syntax/ |
H A D | Tree.cpp | 401 case NodeKind::NestedNameSpecifier: in getDelimiterTokenKind() 415 case NodeKind::NestedNameSpecifier: in getTerminationKind() 429 case NodeKind::NestedNameSpecifier: in canBeEmpty()
|
/openbsd/gnu/llvm/clang/include/clang/Tooling/Syntax/ |
H A D | Nodes.h | 116 class NestedNameSpecifier final : public List { 118 NestedNameSpecifier() : List(NodeKind::NestedNameSpecifier) {} in NestedNameSpecifier() function
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 277 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall() 279 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
|