Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl()
49 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl()
53 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl()
85 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl()
93 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> { in WriteNamedDecl()
163 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl()
284 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit() local
286 for (const NamedDecl *ND : v.NamedDecls) in HandleTranslationUnit() local
H A DASTMerge.cpp62 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp104 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add()
110 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove()
127 void ASTImporterLookupTable::add(NamedDecl *ND) { in add()
136 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove()
145 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update()
158 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced()
H A DLinkage.h93 static QueryType makeCacheKey(const NamedDecl *ND, LVComputationKind Kind) { in makeCacheKey()
97 std::optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup()
105 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info) { in cache()
H A DMangle.cpp74 static bool isExternC(const NamedDecl *ND) { in isExternC()
83 const NamedDecl *ND) { in getCallingConvMangling()
329 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
501 const NamedDecl *ND = cast<NamedDecl>(D); in getAllManglings() local
582 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
H A DItaniumMangle.cpp60 static bool isLambda(const NamedDecl *ND) { in isLambda()
137 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
304 void write(raw_ostream &Out, const NamedDecl *ND, in write()
477 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
708 bool ItaniumMangleContextImpl::isInternalLinkageDecl(const NamedDecl *ND) { in isInternalLinkageDecl()
719 const NamedDecl *ND) { in isUniqueInternalLinkageDecl()
801 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
808 const NamedDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleSourceNameWithAbiTags()
977 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate() local
1009 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleName() local
[all …]
/freebsd/contrib/llvm-project/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
141 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit()
146 bool visit(const NamedDecl *ND, SourceLocation Loc) { in visit()
/freebsd/contrib/llvm-project/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.h96 void erase(NamedDecl *ND) { in erase()
137 if (NamedDecl *ND = getAsDecl()) in getASTContext() local
254 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { in addOrReplaceDecl() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp41 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
106 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl()
H A DRenamingAction.cpp37 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
59 const NamedDecl *ND = in initiate() local
85 const NamedDecl *ND = in initiate() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h88 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalysisOrderChecker.cpp127 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in evalCall() local
140 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPreCall() local
150 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPostCall() local
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrInfo.h49 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/freebsd/contrib/llvm-project/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.cpp238 const auto *ND = cast<NamedDecl>(D); in adjustTemplateImplicitInstantiation() local
281 static bool shouldSkipNamelessDecl(const NamedDecl *ND) { in shouldSkipNamelessDecl()
300 } else if (auto ND = dyn_cast<NamedDecl>(Parent)) { in adjustParent() local
H A DFileIndexRecord.cpp62 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in print() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp1349 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1413 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName() local
1502 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1556 void Sema::makeMergedDefinitionVisible(NamedDecl *ND) { in makeMergedDefinitionVisible()
2098 auto ND = cast<NamedDecl>(RD); in findAcceptableDecl() local
2127 if (auto *ND = dyn_cast<NamespaceDecl>(D)) { in getAcceptableDeclSlow() local
2165 bool LookupResult::isAvailableForLookup(Sema &SemaRef, NamedDecl *ND) { in isAvailableForLookup()
2366 NamespaceDecl *ND = I->getNominatedNamespace()->getFirstDecl(); in LookupQualifiedNameInUsingDirectives() local
2382 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() local
2579 NamedDecl *ND = *It++; in LookupQualifiedName() local
[all …]
H A DSemaCXXScopeSpec.cpp521 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
530 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
563 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier() local
754 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
H A DHeuristicResolver.cpp342 if (const auto *ND = dyn_cast_or_null<NamedDecl>(CE->getCalleeDecl())) { in resolveCalleeOfCallExpr() local
426 bool isOrdinaryMember(const NamedDecl *ND) { in isOrdinaryMember()
458 for (const NamedDecl *ND : RD->lookup(Name)) { in lookupDependentName() local
498 return lookupDependentName(RD, Name, [&](const NamedDecl *ND) { in resolveDependentMember()
H A DSemaModule.cpp894 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) { in ActOnStartExportDecl() local
958 if (auto *ND = dyn_cast<NamedDecl>(D)) { in checkExportedDecl() local
992 if (auto *ND = dyn_cast<NamedDecl>(D)) { in checkExportedDecl() local
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DMemberPointer.cpp54 for (const NamedDecl *ND : IFD->chain()) { in toPointer() local
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp254 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) in print() local
274 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl())) in getNodeLabel() local
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h80 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD); in numberAnonymousDeclsWithin() local

1234567