Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h37 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
109 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc() local
120 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit()
125 bool visit(const NamedDecl *ND, SourceLocation Loc) { in visit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTImporterLookupTable.cpp59 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add()
65 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove()
72 void ASTImporterLookupTable::add(NamedDecl *ND) { in add()
81 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove()
H A 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()
H A DMangle.cpp54 static bool isExternC(const NamedDecl *ND) { in isExternC()
61 const NamedDecl *ND) { in getCallingConvMangling()
243 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
H A DItaniumMangle.cpp110 static bool isLambda(const NamedDecl *ND) { in isLambda()
288 void write(raw_ostream &Out, const NamedDecl *ND, in write()
439 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
467 void mangleUnqualifiedName(const NamedDecl *ND, in mangleUnqualifiedName()
625 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
811 void CXXNameMangler::mangleName(const NamedDecl *ND) { in mangleName()
944 void CXXNameMangler::mangleUnscopedName(const NamedDecl *ND, in mangleUnscopedName()
1495 void CXXNameMangler::mangleNestedName(const NamedDecl *ND, in mangleNestedName()
1603 const NamedDecl *ND = cast<NamedDecl>(D); in mangleLocalName() local
1657 const auto *ND = cast<NamedDecl>(Context); in mangleUnqualifiedBlock() local
[all …]
H A DDeclBase.cpp349 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() local
1066 const auto *ND = cast<NamespaceDecl>(this); in isStdNamespace() local
1455 auto *ND = cast<NamedDecl>(D); in removeDecl() local
1510 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDecl() local
1518 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclInternal() local
1576 if (auto *ND = dyn_cast<NamedDecl>(D)) in buildLookupImpl() local
1724 if (auto *ND = dyn_cast<NamedDecl>(D)) in localUncachedLookup() local
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h81 AnyFunctionDecl(NamedDecl *ND) : Function(ND) {} in AnyFunctionDecl()
94 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) { in getFromNamedDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp43 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence()
108 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl()
H A DRenamingAction.cpp47 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
69 const NamedDecl *ND = in initiate() local
93 const NamedDecl *ND = in initiate() local
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCInstrInfo.h33 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCallGraph.cpp214 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) in print() local
234 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl())) in getNodeLabel() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DAnalysisOrderChecker.cpp111 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPreCall() local
120 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl())) in checkPostCall() local
H A DAnalyzerStatsChecker.cpp98 const NamedDecl *ND = cast<NamedDecl>(D); in checkEndAnalysis() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexSymbol.cpp70 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in isFunctionLocalSymbol() local
439 if (auto *ND = dyn_cast<NamedDecl>(D)) { in printSymbolName() local
H A DIndexingContext.cpp209 const auto *ND = cast<NamedDecl>(D); in adjustTemplateImplicitInstantiation() local
255 static bool shouldSkipNamelessDecl(const NamedDecl *ND) { in shouldSkipNamelessDecl()
274 } else if (auto ND = dyn_cast<NamedDecl>(Parent)) { in adjustParent() local
H A DIndexTypeSourceInfo.cpp51 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() local
176 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp597 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
606 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
639 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier() local
815 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
H A DSemaLookup.cpp1102 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1271 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1341 void Sema::makeMergedDefinitionVisible(NamedDecl *ND) { in makeMergedDefinitionVisible()
1665 auto ND = cast<NamedDecl>(RD); in findAcceptableDecl() local
1685 if (auto *ND = dyn_cast<NamespaceDecl>(D)) { in getAcceptableDeclSlow() local
1902 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() local
3417 void add(NamedDecl *ND) { in add()
3542 if (auto *ND = Result.getAcceptableDecl(D)) { in LookupVisibleDecls() local
3691 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in LookupVisibleDecls() local
4305 } else if (NamedDecl *ND = in addNameSpecifier() local
[all …]
H A DCodeCompleteConsumer.cpp359 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); in getParentName() local
376 if (const auto *ND = dyn_cast<NamedDecl>(DC)) { in getParentName() local
473 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); in addParentContext() local
H A DSemaTemplateVariadic.cpp42 void addUnexpanded(NamedDecl *ND, SourceLocation Loc = SourceLocation()) { in addUnexpanded()
653 NamedDecl *ND = i->first.get<NamedDecl *>(); in CheckParameterPacksForExpansion() local
781 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); in getNumArgumentsInExpansion() local
931 NamedDecl *ND = candidate.getCorrectionDecl(); in ValidateCandidate() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp164 std::string CrossTranslationUnitContext::getLookupName(const NamedDecl *ND) { in getLookupName()
183 const auto *ND = dyn_cast<FunctionDecl>(D); in findFunctionInDeclContext() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTMerge.cpp64 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.h104 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD); in numberAnonymousDeclsWithin() local
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp92 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in GetEnclosingDeclContextSignature() local

12345