Home
last modified time | relevance | path

Searched refs:getNestedNameSpecifier (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp178 QualifierToRemove.getNestedNameSpecifier() in findInsertionPoint()
250 NNSL.getNestedNameSpecifier()->print(OutStream, Policy); in getNNSLAsString()
329 !QualifierToRemove.getNestedNameSpecifier()->getAsNamespace() || in prepare()
331 isNamespaceForbidden(Inputs, *QualifierToRemove.getNestedNameSpecifier())) in prepare()
383 !isFullyQualified(QualifierToRemove.getNestedNameSpecifier())) in apply()
/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp282 switch (NNS.getNestedNameSpecifier()->getKind()) { in indexNestedNameSpecifierLoc()
289 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
293 handleReference(NNS.getNestedNameSpecifier()->getAsNamespaceAlias(), in indexNestedNameSpecifierLoc()
/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp116 if (NestedNameSpecifier.getNestedNameSpecifier()) in StartLocationForType()
148 return ElaboratedTypeLoc.getQualifierLoc().getNestedNameSpecifier(); in GetNestedNameForType()
354 if (!NestedLoc.getNestedNameSpecifier()->getAsType()) in VisitNestedNameSpecifierLocations()
364 NestedLoc.getNestedNameSpecifier()->getPrefix(), in VisitNestedNameSpecifierLocations()
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DTypeTraitsCheck.cpp285 const auto *NNS = QualLoc.getNestedNameSpecifier(); in check()
306 if (checkTemplatedDecl(QualLoc.getNestedNameSpecifier(), TypeTraits)) in check()
/llvm-project/clang/lib/AST/
H A DExprConcepts.cpp44 .getNestedNameSpecifier() in ConceptSpecializationExpr()
47 .getNestedNameSpecifier() in ConceptSpecializationExpr()
H A DASTConcept.cpp99 NestedNameSpec.getNestedNameSpecifier()->print(OS, Policy); in Create()
H A DASTTypeTraits.cpp197 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
H A DStmtProfile.cpp371 VisitNestedNameSpecifier(S->getQualifierLoc().getNestedNameSpecifier()); in VisitMSDependentExistsStmt()
701 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPReductionClause()
739 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPInReductionClause()
763 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPLinearClause()
H A DNestedNameSpecifier.cpp683 Representation = Other.getNestedNameSpecifier(); in Adopt()
H A DTemplateBase.cpp697 Template->Qualifier = QualifierLoc.getNestedNameSpecifier();
H A DOpenMPClause.cpp2339 Node->getQualifierLoc().getNestedNameSpecifier(); in VisitOMPMapClause()
2362 Node->getQualifierLoc().getNestedNameSpecifier(); in VisitOMPMotionClause()
2384 Node->getQualifierLoc().getNestedNameSpecifier();
2497 Node->getMapperQualifierLoc().getNestedNameSpecifier(); in VisitOMPUsesAllocatorsClause()
H A DStmtPrinter.cpp455 = Node->getQualifierLoc().getNestedNameSpecifier()) in VisitMSDependentExistsStmt()
2131 Node->getQualifierLoc().getNestedNameSpecifier()) in VisitCXXFunctionalCastExpr()
2643 NNS.getNestedNameSpecifier()->print(OS, Policy); in VisitObjCArrayLiteral()
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DNestedNameSpecifiers.cpp29 NNS.getNestedNameSpecifier()->getAsNamespace()) in TraverseNestedNameSpecifierLoc()
/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h274 NestedNameSpecifier *getNestedNameSpecifier() const { in getNestedNameSpecifier() function
549 FirstInfo::getHashValue(PairVal.getNestedNameSpecifier()),
H A DASTTypeTraits.h339 return std::make_pair(NNSLA.getNestedNameSpecifier(),
341 std::make_pair(NNSLB.getNestedNameSpecifier(),
396 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
H A DDeclCXX.h3127 return QualifierLoc.getNestedNameSpecifier();
3250 return QualifierLoc.getNestedNameSpecifier(); in LifetimeExtendedTemporaryDecl()
3612 return QualifierLoc.getNestedNameSpecifier();
3802 return getQualifierLoc().getNestedNameSpecifier(); in UsingPackDecl()
3969 return QualifierLoc.getNestedNameSpecifier();
4059 return QualifierLoc.getNestedNameSpecifier();
H A DTypeLoc.h2370 assert(QualifierLoc.getNestedNameSpecifier() == in getLocalDataAlignment()
2445 assert(QualifierLoc.getNestedNameSpecifier()
2514 assert(QualifierLoc.getNestedNameSpecifier() in getRAngleLoc()
H A DExprCXX.h2676 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3100 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3376 return QualifierLoc.getNestedNameSpecifier();
3795 return QualifierLoc.getNestedNameSpecifier();
/llvm-project/clang-tools-extra/clangd/
H A DDumpAST.cpp152 assert(NNSL.getNestedNameSpecifier()); in getKind()
153 switch (NNSL.getNestedNameSpecifier()->getKind()) { in getKind()
280 const auto &NNS = *NNSL.getNestedNameSpecifier(); in getDetail()
H A DFindTarget.cpp560 Finder.add(NNSL->getNestedNameSpecifier(), Flags); in allTargetDecls()
1054 if (!L.getNestedNameSpecifier()) in TraverseNestedNameSpecifierLoc()
1103 DynTypedNode::create(*NNSL->getNestedNameSpecifier()), in explicitReference()
1217 R.Qualifier.getNestedNameSpecifier()->print(OS, in operator <<()
/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc()
/llvm-project/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp40 if (NestedNameSpecifier.getNestedNameSpecifier()) in startLocationForType()
571 if (auto *NNS = NestedNameSpecifier.getNestedNameSpecifier()) { in run()
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp284 if (const NestedNameSpecifier *Spec = Loc.getNestedNameSpecifier()) { in TraverseNestedNameSpecifierLoc()
/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp230 if (!match(*NNS.getNestedNameSpecifier())) in TraverseNestedNameSpecifierLoc()
1518 match(*NNS.getNestedNameSpecifier()); in TraverseNestedNameSpecifierLoc()
/llvm-project/clang/unittests/Tooling/
H A DRefactoringTest.cpp750 if (NNSLoc.getNestedNameSpecifier()) {
751 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) {

12