Home
last modified time | relevance | path

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

123456

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
H A 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
/netbsd-src/external/apache2/llvm/dist/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
H A DASTMerge.cpp63 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A 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()
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.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()
H A DItaniumMangle.cpp114 static bool isLambda(const NamedDecl *ND) { in isLambda()
188 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
333 void write(raw_ostream &Out, const NamedDecl *ND, in write()
485 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
628 static bool isInternalLinkageDecl(const NamedDecl *ND) { in isInternalLinkageDecl()
639 const NamedDecl *ND) { in isUniqueInternalLinkageDecl()
717 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
724 const NamedDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleSourceNameWithAbiTags()
889 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in isTemplate() local
921 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); in mangleName() local
[all …]
H A DDeclBase.cpp386 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() local
1126 const auto *ND = cast<NamespaceDecl>(this); in isStdNamespace() local
1492 auto *ND = cast<NamedDecl>(D); in removeDecl() local
1544 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDecl() local
1552 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclInternal() local
1610 if (auto *ND = dyn_cast<NamedDecl>(D)) in buildLookupImpl() local
1756 if (auto *ND = dyn_cast<NamedDecl>(D)) in localUncachedLookup() local
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTImporterSharedState.h57 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclToLookup() local
63 if (auto *ND = dyn_cast<NamedDecl>(D)) in removeDeclFromLookup() local
H A 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
/netbsd-src/external/apache2/llvm/dist/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.cpp46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
68 const NamedDecl *ND = in initiate() local
94 const NamedDecl *ND = in initiate() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName() local
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/
H A Dcpc.c37 typedef struct nd ND; typedef
174 qloop(void (*fun)(ND *), ND *n1, int a0, int a1, int a2, int a3) in qloop()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCInstrInfo.h47 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexSymbol.cpp67 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { in isFunctionLocalSymbol() local
484 if (auto *ND = dyn_cast<NamedDecl>(D)) { in printSymbolName() local
H A 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
H A DIndexTypeSourceInfo.cpp58 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() local
220 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
H A DFileIndexRecord.cpp72 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in print() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp601 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
610 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
643 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier() local
819 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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

123456