| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 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 * [all …]
|
| H A D | QualTypeNames.cpp | 30 static NestedNameSpecifier *createNestedNameSpecifier( 45 static NestedNameSpecifier *createNestedNameSpecifier( 49 static NestedNameSpecifier *createNestedNameSpecifierForScopeOf( 53 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier( 54 const ASTContext &Ctx, NestedNameSpecifier *scope, bool WithGlobalNsPrefix); 60 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName() 70 NestedNameSpecifier *QNNS = getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedTemplateName() 188 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS() 207 return NestedNameSpecifier::GlobalSpecifier(Ctx); in createOuterNNS() 213 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier() [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 | 449 bool mangleSubstitution(NestedNameSpecifier *NNS); 463 void addSubstitution(NestedNameSpecifier *NNS) { in addSubstitution() 474 void mangleUnresolvedPrefix(NestedNameSpecifier *qualifier, 476 void mangleUnresolvedName(NestedNameSpecifier *qualifier, 520 void manglePrefix(NestedNameSpecifier *qualifier); 564 NestedNameSpecifier *qualifier, 1271 void CXXNameMangler::mangleUnresolvedPrefix(NestedNameSpecifier *qualifier, in mangleUnresolvedPrefix() 1289 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix() 1299 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix() 1302 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 108 NestedNameSpecifier *NNS1, 109 NestedNameSpecifier *NNS2); 452 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent() 453 NestedNameSpecifier *NNS2) { 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() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 50 class NestedNameSpecifier : public llvm::FoldingSetNode { 65 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; 106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() function 110 NestedNameSpecifier(const NestedNameSpecifier &Other) = default; 114 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context, 115 const NestedNameSpecifier &Mockup); 118 NestedNameSpecifier &operator=(const NestedNameSpecifier &) = delete; 125 static NestedNameSpecifier *Create(const ASTContext &Context, 126 NestedNameSpecifier *Prefix, 130 static NestedNameSpecifier *Create(const ASTContext &Context, [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() 273 case NestedNameSpecifier::TypeSpecWithTemplate: 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() 461 NestedNameSpecifier *getQualifier() const { return Qualifier.getPointer(); } in getQualifier() 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() [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; 1626 NestedNameSpecifier *NNS, QualType NamedType, 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, [all …]
|
| H A D | ASTImporter.h | 406 llvm::Expected<NestedNameSpecifier *> Import(NestedNameSpecifier *FromNNS);
|
| /openbsd-src/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-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext() 141 case NestedNameSpecifier::Identifier: in computeDeclContext() 144 case NestedNameSpecifier::Namespace: in computeDeclContext() 147 case NestedNameSpecifier::NamespaceAlias: in computeDeclContext() 150 case NestedNameSpecifier::TypeSpec: in computeDeclContext() 151 case NestedNameSpecifier::TypeSpecWithTemplate: { in computeDeclContext() 157 case NestedNameSpecifier::Global: in computeDeclContext() 160 case NestedNameSpecifier::Super: in computeDeclContext() 179 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { in getCurrentInstantiationOf() 372 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { in FindFirstQualifierInScope() [all …]
|
| /openbsd-src/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-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/ |
| H A D | Lookup.h | 24 class NestedNameSpecifier; variable 41 std::string replaceNestedName(const NestedNameSpecifier *Use,
|
| /openbsd-src/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-src/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-src/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() 774 const QualType *, const TypeLoc *, const NestedNameSpecifier *, \ 899 } else if (const auto *NNS = State.getNode<NestedNameSpecifier>()) { in dumpNodeFromState() 1090 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch() [all …]
|
| /openbsd-src/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-src/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-src/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-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 277 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall() 279 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
|