Home
last modified time | relevance | path

Searched defs:ND (Results 1 – 25 of 136) sorted by relevance

123456

/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Rename/
H A DRenamingAction.h59 RenameOccurrences(const NamedDecl *ND, std::string NewName) in RenameOccurrences()
65 const NamedDecl *ND; variable
78 QualifiedRenameRule(const NamedDecl *ND, in QualifiedRenameRule()
86 const NamedDecl *ND; variable
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp40 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl()
48 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl()
52 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl()
84 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl()
92 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> { in WriteNamedDecl()
162 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl()
283 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit() local
285 for (const NamedDecl *ND : v.NamedDecls) in HandleTranslationUnit() local
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTImporterLookupTable.cpp90 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add()
96 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove()
112 void ASTImporterLookupTable::add(NamedDecl *ND) { in add()
121 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove()
130 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update()
143 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced()
H A DLinkage.h90 static QueryType makeCacheKey(const NamedDecl *ND, LVComputationKind Kind) { in makeCacheKey()
94 std::optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup()
102 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info) { in cache()
H A DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC()
67 const NamedDecl *ND) { in getCallingConvMangling()
309 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
479 const NamedDecl *ND = cast<NamedDecl>(D); in getAllManglings() local
550 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
H A DItaniumMangle.cpp60 static bool isLambda(const NamedDecl *ND) { in isLambda()
136 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
295 void write(raw_ostream &Out, const NamedDecl *ND, in write()
458 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
666 bool ItaniumMangleContextImpl::isInternalLinkageDecl(const NamedDecl *ND) { in isInternalLinkageDecl()
677 const NamedDecl *ND) { in isUniqueInternalLinkageDecl()
759 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
766 const NamedDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleSourceNameWithAbiTags()
922 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate() local
954 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleName() local
[all …]
H A DDeclBase.cpp395 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() local
1162 const auto *ND = cast<NamespaceDecl>(this); in isStdNamespace() local
1554 auto *ND = cast<NamedDecl>(D); in removeDecl() local
1610 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDecl() local
1618 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclInternal() local
1676 if (auto *ND = dyn_cast<NamedDecl>(D)) in buildLookupImpl() local
1823 if (auto *ND = dyn_cast<NamedDecl>(D)) in localUncachedLookup() local
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h36 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc() local
140 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit()
145 bool visit(const NamedDecl *ND, SourceLocation Loc) { in visit()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTImporterSharedState.h59 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclToLookup() local
65 if (auto *ND = dyn_cast<NamedDecl>(D)) in removeDeclFromLookup() local
H A DDeclContextInternals.h84 void erase(NamedDecl *ND) { in erase()
125 if (NamedDecl *ND = getAsDecl()) in getASTContext() local
248 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { in addOrReplaceDecl() local
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
68 const NamedDecl *ND = in initiate() local
94 const NamedDecl *ND = in initiate() local
H A DUSRFinder.cpp43 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
108 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DAnalysisOrderChecker.cpp128 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in evalCall() local
141 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPreCall() local
151 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPostCall() local
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaLookup.cpp1308 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1373 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName() local
1462 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1516 void Sema::makeMergedDefinitionVisible(NamedDecl *ND) { in makeMergedDefinitionVisible()
2024 auto ND = cast<NamedDecl>(RD); in findAcceptableDecl() local
2053 if (auto *ND = dyn_cast<NamespaceDecl>(D)) { in getAcceptableDeclSlow() local
2091 bool LookupResult::isAvailableForLookup(Sema &SemaRef, NamedDecl *ND) { in isAvailableForLookup()
2332 NamespaceDecl *ND = I->getNominatedNamespace()->getOriginalNamespace(); in LookupQualifiedNameInUsingDirectives() local
2348 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() local
2546 NamedDecl *ND = *It++; in LookupQualifiedName() local
[all …]
H A DSemaCXXScopeSpec.cpp615 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
624 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
657 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier() local
841 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h66 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName() local
/openbsd-src/gnu/llvm/clang/lib/Tooling/Inclusions/Stdlib/
H A DStandardLibrary.cpp116 for (const auto *ND = D; ND; in namespaceSymbols() local
149 if (const auto *ND = llvm::dyn_cast<NamedDecl>(D)) in operator ()() local
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp67 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in isFunctionLocalSymbol() local
492 if (auto *ND = dyn_cast<NamedDecl>(D)) { in printSymbolName() local
H A DIndexingContext.cpp227 const auto *ND = cast<NamedDecl>(D); in adjustTemplateImplicitInstantiation() local
270 static bool shouldSkipNamelessDecl(const NamedDecl *ND) { in shouldSkipNamelessDecl()
289 } else if (auto ND = dyn_cast<NamedDecl>(Parent)) { in adjustParent() local
H A DIndexTypeSourceInfo.cpp61 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() local
230 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
H A DFileIndexRecord.cpp64 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in print() local
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCInstrInfo.h48 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCallGraph.cpp255 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) in print() local
275 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl())) in getNodeLabel() local
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp163 const NamedDecl *ND, llvm::ImmutableList<const CXXBaseSpecifier *> L) { in getPointerToMemberData()
200 const NamedDecl *ND = nullptr; in accumCXXBase() local
/openbsd-src/gnu/llvm/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp245 CrossTranslationUnitContext::getLookupName(const NamedDecl *ND) { in getLookupName()
263 if (const auto *ND = findDefInDeclContext<T>(SubDC, LookupName)) in findDefInDeclContext() local
266 const auto *ND = dyn_cast<T>(D); in findDefInDeclContext() local

123456