/llvm-project/clang/include/clang/AST/ |
H A D | NestedNameSpecifier.h | 243 class NestedNameSpecifierLoc { 257 NestedNameSpecifierLoc() = default; 261 NestedNameSpecifierLoc(NestedNameSpecifier *Qualifier, void *Data) in NestedNameSpecifierLoc() function 327 NestedNameSpecifierLoc getPrefix() const { in getPrefix() 331 return NestedNameSpecifierLoc(Qualifier->getPrefix(), Data); in getPrefix() 342 friend bool operator==(NestedNameSpecifierLoc X, 343 NestedNameSpecifierLoc Y) { 347 friend bool operator!=(NestedNameSpecifierLoc X, 348 NestedNameSpecifierLoc Y) { 480 void Adopt(NestedNameSpecifierLoc Other); [all …]
|
H A D | ASTTypeTraits.h | 214 KIND_TO_KIND_ID(NestedNameSpecifierLoc) 335 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame( 337 auto NNSLA = getUnchecked<NestedNameSpecifierLoc>(); 338 auto NNSLB = Other.getUnchecked<NestedNameSpecifierLoc>(); 361 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(NodeKind)) 362 return getUnchecked<NestedNameSpecifierLoc>() == 363 Other.getUnchecked<NestedNameSpecifierLoc>(); 393 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame( 395 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>(); 511 TemplateArgumentLoc, NestedNameSpecifierLoc, [all …]
|
H A D | ASTConcept.h | 126 NestedNameSpecifierLoc NestedNameSpec; 148 ConceptReference(NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, 158 Create(const ASTContext &C, NestedNameSpecifierLoc NNS, in ConceptReference() 163 const NestedNameSpecifierLoc &getNestedNameSpecifierLoc() const { 270 const NestedNameSpecifierLoc &getNestedNameSpecifierLoc() const { in getTemplateKWLoc()
|
H A D | TemplateBase.h | 497 TemplateArgumentLocInfo(ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, 507 NestedNameSpecifierLoc getTemplateQualifierLoc() const { 509 return NestedNameSpecifierLoc(Template->Qualifier, 553 NestedNameSpecifierLoc QualifierLoc, 609 NestedNameSpecifierLoc getTemplateQualifierLoc() const { 612 return NestedNameSpecifierLoc();
|
H A D | DeclCXX.h | 3085 NestedNameSpecifierLoc QualifierLoc; 3096 NestedNameSpecifierLoc QualifierLoc, 3122 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } 3160 NestedNameSpecifierLoc QualifierLoc, 3194 NestedNameSpecifierLoc QualifierLoc; in getNamespace() 3202 IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc, 3221 NestedNameSpecifierLoc QualifierLoc, in classof() 3245 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in LifetimeExtendedTemporaryDecl() 3579 NestedNameSpecifierLoc QualifierLoc; in getCanonicalDecl() 3586 NestedNameSpecifierLoc QualifierLo in classofKind() [all...] |
H A D | TypeLoc.h | 2239 const NestedNameSpecifierLoc getNestedNameSpecifierLoc() const { in getConceptNameInfo() 2242 return NestedNameSpecifierLoc(); in hasExplicitTemplateArgs() 2363 NestedNameSpecifierLoc getQualifierLoc() const { in getInnerType() 2364 return !isEmpty() ? NestedNameSpecifierLoc(getTypePtr()->getQualifier(), 2366 : NestedNameSpecifierLoc(); in isEmpty() 2369 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { 2439 NestedNameSpecifierLoc getQualifierLoc() const { 2440 return NestedNameSpecifierLoc(getTypePtr()->getQualifier(), 2444 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { 2496 NestedNameSpecifierLoc getQualifierLo [all...] |
H A D | ExprCXX.h | 938 NestedNameSpecifierLoc QualifierLoc; 945 NestedNameSpecifierLoc qualifierLoc, SourceLocation nameLoc) in MSPropertyRefExpr() 990 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc() 2632 NestedNameSpecifierLoc QualifierLoc; 2652 NestedNameSpecifierLoc QualifierLoc, 2670 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } 2991 NestedNameSpecifierLoc QualifierLoc; 2995 NestedNameSpecifierLoc QualifierLoc, 3105 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } 3228 NestedNameSpecifierLoc QualifierLo [all...] |
H A D | StmtCXX.h | 256 NestedNameSpecifierLoc QualifierLoc; 265 NestedNameSpecifierLoc QualifierLoc, in MSDependentExistsStmt() 285 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
|
H A D | ASTImporter.h | 414 llvm::Expected<NestedNameSpecifierLoc> 415 Import(NestedNameSpecifierLoc FromNNS);
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | FindTarget.cpp | 559 else if (const NestedNameSpecifierLoc *NNSL = N.get<NestedNameSpecifierLoc>()) in allTargetDecls() 699 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 707 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 711 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 718 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 722 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 726 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 733 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() 737 Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(), in refInDecl() [all...] |
H A D | DumpAST.cpp | 151 std::string getKind(const NestedNameSpecifierLoc &NNSL) { in getKind() 279 std::string getDetail(const NestedNameSpecifierLoc &NNSL) { in getDetail() 330 std::string getArcana(const NestedNameSpecifierLoc &NNS) { return ""; } in getArcana() 365 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSL) { in TraverseNestedNameSpecifierLoc() 424 else if (const auto *NNSL = N.get<NestedNameSpecifierLoc>()) in dumpAST() 426 *const_cast<NestedNameSpecifierLoc *>(NNSL)); in dumpAST()
|
/llvm-project/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 354 NestedNameSpecifierLoc::getLocalDataLength(NestedNameSpecifier *Qualifier) { 385 NestedNameSpecifierLoc::getDataLength(NestedNameSpecifier *Qualifier) { 408 SourceRange NestedNameSpecifierLoc::getSourceRange() const { in LoadPointer() 412 NestedNameSpecifierLoc First = *this; in getSourceRange() 413 while (NestedNameSpecifierLoc Prefix = First.getPrefix()) in getSourceRange() 420 SourceRange NestedNameSpecifierLoc::getLocalSourceRange() const { in getSourceRange() 451 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getLocalSourceRange() 670 void NestedNameSpecifierLocBuilder::Adopt(NestedNameSpecifierLoc Other) { in MakeTrivial() 689 NestedNameSpecifierLoc in Adopt() 692 return NestedNameSpecifierLoc(); in getWithLocInContext() [all...] |
H A D | ASTTypeTraits.cpp | 196 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) { in print() 240 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) in getSourceRange()
|
H A D | ExprCXX.cpp | 372 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in CXXPseudoDestructorExpr() 401 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() 421 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() 437 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() 467 NestedNameSpecifierLoc QualifierLoc, in OverloadExpr() 513 QualType Ty, NestedNameSpecifierLoc QualifierLoc, in DependentScopeDeclRefExpr() 532 const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, in Create() 555 QualType(), NestedNameSpecifierLoc(), SourceLocation(), in CreateEmpty() 1493 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in CXXDependentScopeMemberExpr() 1535 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLo in Create() [all...] |
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | TypeTraitsCheck.cpp | 222 auto EmitValueWarning = [this, &Result](const NestedNameSpecifierLoc &QualLoc, in check() 245 auto EmitTypeWarning = [this, &Result](const NestedNameSpecifierLoc &QualLoc, in check() 284 const NestedNameSpecifierLoc QualLoc = ETL->getQualifierLoc(); in check() 305 NestedNameSpecifierLoc QualLoc = DNTL->getQualifierLoc(); in check()
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | AddUsing.cpp | 62 NestedNameSpecifierLoc QualifierToRemove; 147 const NestedNameSpecifierLoc &QualifierToRemove, in findInsertionPoint() 246 std::string getNNSLAsString(NestedNameSpecifierLoc &NNSL, in getNNSLAsString() 271 if (Node->ASTNode.get<NestedNameSpecifierLoc>()) { in prepare() 279 Node->Parent->ASTNode.get<NestedNameSpecifierLoc>()) { in prepare()
|
/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 127 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() 128 DynNode.get<NestedNameSpecifierLoc>()) in findMatch() 226 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { in TraverseNestedNameSpecifierLoc() 353 bool baseTraverse(NestedNameSpecifierLoc NNS) { in baseTraverse() 507 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS); 717 } else if (auto *N = Node.get<NestedNameSpecifierLoc>()) { in match() 787 const NestedNameSpecifierLoc * 913 } else if (const auto *NNSL = State.getNode<NestedNameSpecifierLoc>()) { in dumpNodeFromState() 1105 void matchDispatch(const NestedNameSpecifierLoc *Node) { in matchDispatch() 1106 matchWithoutFilter(*Node, Matchers->NestedNameSpecifierLoc); in matchDispatch() [all...] |
/llvm-project/clang/lib/Index/ |
H A D | IndexingContext.h | 29 class NestedNameSpecifierLoc; variable 109 void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
|
H A D | IndexTypeSourceInfo.cpp | 113 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { in TraverseNestedNameSpecifierLoc() 269 void IndexingContext::indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, in indexNestedNameSpecifierLoc() 275 if (NestedNameSpecifierLoc Prefix = NNS.getPrefix()) in indexNestedNameSpecifierLoc()
|
/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
H A D | NoInternalDependenciesCheck.cpp | 33 Result.Nodes.getNodeAs<NestedNameSpecifierLoc>("InternalDep"); in check()
|
H A D | AbseilMatcher.h | 32 NestedNameSpecifierLoc)) { in AST_POLYMORPHIC_MATCHER() argument
|
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
H A D | NestedNameSpecifiers.cpp | 25 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) override {
|
/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | BuildTree.cpp | 331 void add(NestedNameSpecifierLoc From, syntax::Tree *To) { in add() 342 syntax::Tree *find(NestedNameSpecifierLoc P) const { in find() 348 llvm::DenseMap<NestedNameSpecifierLoc, syntax::Tree *> NNSNodes; 397 NestedNameSpecifierLoc From) { in foldNode() 437 void markChild(NestedNameSpecifierLoc N, NodeRole R); 933 SourceRange getLocalSourceRange(const NestedNameSpecifierLoc &NNSLoc) { in getLocalSourceRange() 982 buildNameSpecifier(const NestedNameSpecifierLoc &NNSLoc) { in buildNameSpecifier() 1028 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc QualifierLoc) { in TraverseNestedNameSpecifierLoc() 1044 syntax::IdExpression *buildIdExpression(NestedNameSpecifierLoc QualifierLoc, in buildIdExpression() 1711 void syntax::TreeBuilder::markChild(NestedNameSpecifierLoc NNSLoc, NodeRole R) { in markChild()
|
/llvm-project/clang/lib/Sema/ |
H A D | HLSLExternalSemaSource.cpp | 322 NestedNameSpecifierLoc NNSLoc; in TemplateParameterListBuilder() 484 AST, NestedNameSpecifierLoc(), SourceLocation(), ParamDecl, false, in defineTrivialHLSLTypes() 595 AST, NestedNameSpecifierLoc(), SourceLocation(), FD, false, 793 NestedNameSpecifierLoc(), SourceLocation(), HLSLNamespace, 834 AST, NestedNameSpecifierLoc(), SourceLocation(), SizeParam, false,
|
/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 114 NestedNameSpecifierLoc NestedNameSpecifier = in StartLocationForType() 353 bool VisitNestedNameSpecifierLocations(NestedNameSpecifierLoc NestedLoc) { in VisitNestedNameSpecifierLocations() 380 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) { in VisitTypeLoc()
|