Home
last modified time | relevance | path

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

123456

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DRenamingAction.h60 RenameOccurrences(const NamedDecl *ND, std::string NewName) in RenameOccurrences()
66 const NamedDecl *ND; variable
79 QualifiedRenameRule(const NamedDecl *ND, in QualifiedRenameRule()
87 const NamedDecl *ND; variable
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
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
DASTMerge.cpp63 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DASTImporterLookupTable.cpp89 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add()
95 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove()
102 void ASTImporterLookupTable::add(NamedDecl *ND) { in add()
111 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove()
120 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update()
DLinkage.h90 static QueryType makeCacheKey(const NamedDecl *ND, LVComputationKind Kind) { in makeCacheKey()
94 llvm::Optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup()
102 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info) { in cache()
DItaniumMangle.cpp114 static bool isLambda(const NamedDecl *ND) { in isLambda()
187 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
336 void write(raw_ostream &Out, const NamedDecl *ND, in write()
488 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
631 static bool isInternalLinkageDecl(const NamedDecl *ND) { in isInternalLinkageDecl()
642 const NamedDecl *ND) { in isUniqueInternalLinkageDecl()
720 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
727 const NamedDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleSourceNameWithAbiTags()
892 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate() local
924 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleName() local
[all …]
DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC()
67 const NamedDecl *ND) { in getCallingConvMangling()
305 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
475 const NamedDecl *ND = cast<NamedDecl>(D); in getAllManglings() local
546 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
DDeclBase.cpp386 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() local
1130 const auto *ND = cast<NamespaceDecl>(this); in isStdNamespace() local
1501 auto *ND = cast<NamedDecl>(D); in removeDecl() local
1553 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDecl() local
1561 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclInternal() local
1619 if (auto *ND = dyn_cast<NamedDecl>(D)) in buildLookupImpl() local
1765 if (auto *ND = dyn_cast<NamedDecl>(D)) in localUncachedLookup() local
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
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()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DASTImporterSharedState.h57 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclToLookup() local
63 if (auto *ND = dyn_cast<NamedDecl>(D)) in removeDeclFromLookup() local
DDeclContextInternals.h85 void erase(NamedDecl *ND) { in erase()
126 if (NamedDecl *ND = getAsDecl()) in getASTContext() local
249 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { in addOrReplaceDecl() local
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRFinder.cpp43 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
108 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl()
DRenamingAction.cpp46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
68 const NamedDecl *ND = in initiate() local
94 const NamedDecl *ND = in initiate() local
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DASTUtils.h70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName() local
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
DMCInstrInfo.h47 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
DIndexSymbol.cpp67 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in isFunctionLocalSymbol() local
489 if (auto *ND = dyn_cast<NamedDecl>(D)) { in printSymbolName() local
DIndexingContext.cpp228 const auto *ND = cast<NamedDecl>(D); in adjustTemplateImplicitInstantiation() local
274 static bool shouldSkipNamelessDecl(const NamedDecl *ND) { in shouldSkipNamelessDecl()
293 } else if (auto ND = dyn_cast<NamedDecl>(Parent)) { in adjustParent() local
DFileIndexRecord.cpp67 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in print() local
DIndexTypeSourceInfo.cpp58 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() local
220 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaLookup.cpp1296 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1361 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName() local
1450 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1504 void Sema::makeMergedDefinitionVisible(NamedDecl *ND) { in makeMergedDefinitionVisible()
1844 auto ND = cast<NamedDecl>(RD); in findAcceptableDecl() local
1864 if (auto *ND = dyn_cast<NamespaceDecl>(D)) { in getAcceptableDeclSlow() local
2065 NamespaceDecl *ND = I->getNominatedNamespace()->getOriginalNamespace(); in LookupQualifiedNameInUsingDirectives() local
2081 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() local
2279 NamedDecl *ND = *It++; in LookupQualifiedName() local
2397 if (NamedDecl *ND = R.getAcceptableDecl(*I)) in LookupQualifiedName() local
[all …]
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
833 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
DSemaSYCL.cpp69 const NamedDecl *ND) -> llvm::Optional<unsigned> { in AddSYCLKernelLambda()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
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
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DBasicValueFactory.cpp163 const NamedDecl *ND, llvm::ImmutableList<const CXXBaseSpecifier *> L) { in getPointerToMemberData()
200 const NamedDecl *ND = nullptr; in accumCXXBase() local

123456