Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp159 QualifierToRemove.getNestedNameSpecifier() in findInsertionPoint()
231 NNSL.getNestedNameSpecifier()->print(OutStream, Policy); in getNNSLAsString()
317 !QualifierToRemove.getNestedNameSpecifier()->getAsNamespace() || in prepare()
322 if (isNamespaceForbidden(Inputs, *QualifierToRemove.getNestedNameSpecifier())) in prepare()
363 !isFullyQualified(QualifierToRemove.getNestedNameSpecifier())) in apply()
/llvm-project-15.0.7/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-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp116 if (NestedNameSpecifier.getNestedNameSpecifier()) in StartLocationForType()
148 return ElaboratedTypeLoc.getQualifierLoc().getNestedNameSpecifier(); in GetNestedNameForType()
353 if (!NestedLoc.getNestedNameSpecifier()->getAsType()) in VisitNestedNameSpecifierLocations()
363 NestedLoc.getNestedNameSpecifier()->getPrefix(), in VisitNestedNameSpecifierLocations()
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DNestedNameSpecifiers.cpp30 NNS.getNestedNameSpecifier()->getAsNamespace()) in TraverseNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConcepts.cpp52 (!NestedNameSpec.getNestedNameSpecifier()->isInstantiationDependent() && in ConceptSpecializationExpr()
53 !NestedNameSpec.getNestedNameSpecifier() in ConceptSpecializationExpr()
H A DASTTypeTraits.cpp182 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
H A DStmtProfile.cpp355 VisitNestedNameSpecifier(S->getQualifierLoc().getNestedNameSpecifier()); in VisitMSDependentExistsStmt()
647 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPReductionClause()
685 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPTaskReductionClause()
709 C->getQualifierLoc().getNestedNameSpecifier()); in VisitOMPInReductionClause()
H A DTemplateBase.cpp605 Template->Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
H A DNestedNameSpecifier.cpp685 Representation = Other.getNestedNameSpecifier(); in Adopt()
H A DOpenMPClause.cpp2058 Node->getQualifierLoc().getNestedNameSpecifier(); in VisitOMPReductionClause()
2081 Node->getQualifierLoc().getNestedNameSpecifier(); in VisitOMPTaskReductionClause()
2103 Node->getQualifierLoc().getNestedNameSpecifier(); in VisitOMPInReductionClause()
2212 Node->getMapperQualifierLoc().getNestedNameSpecifier(); in PrintMapper()
H A DStmtPrinter.cpp446 = Node->getQualifierLoc().getNestedNameSpecifier()) in VisitMSDependentExistsStmt()
1973 Node->getQualifierLoc().getNestedNameSpecifier()) in VisitMSPropertyRefExpr()
2461 NNS.getNestedNameSpecifier()->print(OS, Policy); in VisitConceptSpecializationExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DNestedNameSpecifier.h274 NestedNameSpecifier *getNestedNameSpecifier() const { in getNestedNameSpecifier() function
549 FirstInfo::getHashValue(PairVal.getNestedNameSpecifier()),
H A DASTTypeTraits.h331 return std::make_pair(NNSLA.getNestedNameSpecifier(),
333 std::make_pair(NNSLB.getNestedNameSpecifier(),
388 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
H A DDeclCXX.h2965 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3088 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3450 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3792 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3882 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
H A DTypeLoc.h2279 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
2338 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
2407 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
H A DExprCXX.h2592 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3013 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3265 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
3683 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDumpAST.cpp150 assert(NNSL.getNestedNameSpecifier()); in getKind()
151 switch (NNSL.getNestedNameSpecifier()->getKind()) { in getKind()
272 const auto &NNS = *NNSL.getNestedNameSpecifier(); in getDetail()
H A DFindTarget.cpp538 Finder.add(NNSL->getNestedNameSpecifier(), Flags); in allTargetDecls()
1012 if (!L.getNestedNameSpecifier()) in TraverseNestedNameSpecifierLoc()
1056 DynTypedNode::create(*NNSL->getNestedNameSpecifier()), in explicitReference()
1165 R.Qualifier.getNestedNameSpecifier()->print(OS, in operator <<()
H A DAST.cpp252 if (auto *Qualifier = getQualifierLoc(ND).getNestedNameSpecifier()) in printName()
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp40 if (NestedNameSpecifier.getNestedNameSpecifier()) in startLocationForType()
572 if (!NestedNameSpecifier.getNestedNameSpecifier()) in run()
575 NestedNameSpecifier.getNestedNameSpecifier()->getAsType(); in run()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp344 if (const NestedNameSpecifier *Spec = Loc->getNestedNameSpecifier()) { in check()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp228 if (!match(*NNS.getNestedNameSpecifier())) in TraverseNestedNameSpecifierLoc()
1495 match(*NNS.getNestedNameSpecifier()); in TraverseNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringTest.cpp752 if (NNSLoc.getNestedNameSpecifier()) { in TraverseNestedNameSpecifierLoc()
753 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplate.cpp3065 while (NestedNameSpecifier *NNS = NNSLoc.getNestedNameSpecifier()) { in getRangeOfTypeInNestedNameSpecifier()
10592 if (!NNS || !NNS.getNestedNameSpecifier()->getAsType()) in isEnableIf()
10677 assert(QualifierLoc.getNestedNameSpecifier()->isDependent()); in CheckTypenameType()
10679 QualifierLoc.getNestedNameSpecifier(), in CheckTypenameType()
10755 QualifierLoc.getNestedNameSpecifier(), in CheckTypenameType()
10786 QualifierLoc.getNestedNameSpecifier(), in CheckTypenameType()
10798 ? QualifierLoc.getNestedNameSpecifier()->getAsType() in CheckTypenameType()
10810 Keyword, QualifierLoc.getNestedNameSpecifier(), in CheckTypenameType()

12