Home
last modified time | relevance | path

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

123456

/freebsd-src/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-src/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp40 WriteNamedDecl(const NamedDecl * ND,MangledSymbols & Symbols,int RDO) WriteNamedDecl() argument
48 __anon497decaf0202(const NamedDecl *ND) WriteNamedDecl() argument
52 __anon497decaf0302(const NamedDecl *ND) WriteNamedDecl() argument
84 __anon497decaf0402(const NamedDecl *ND) WriteNamedDecl() argument
92 __anon497decaf0502(const NamedDecl *ND) WriteNamedDecl() argument
162 HandleNamedDecl(const NamedDecl * ND,MangledSymbols & Symbols,int RDO) HandleNamedDecl() argument
283 for (const NamedDecl *ND : v.ValueDecls) HandleTranslationUnit() local
285 for (const NamedDecl *ND : v.NamedDecls) HandleTranslationUnit() local
[all...]
H A DASTMerge.cpp63 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
/freebsd-src/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()
126 void ASTImporterLookupTable::add(NamedDecl *ND) { in add()
135 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove()
144 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update()
157 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced()
H A DLinkage.h94 return QueryType(ND, Kind.toBits()); in lookup() argument
90 makeCacheKey(const NamedDecl * ND,LVComputationKind Kind) makeCacheKey() argument
102 cache(const NamedDecl * ND,LVComputationKind Kind,LinkageInfo Info) cache() argument
H A DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC() argument
67 const NamedDecl *ND) { in getCallingConvMangling() argument
313 if (!shouldMangleDeclName(ND) && ND in mangleBlock() local
483 const NamedDecl *ND = cast<NamedDecl>(D); getAllManglings() local
554 getMangledStructor(const NamedDecl * ND,unsigned StructorType) getMangledStructor() argument
[all...]
H A DItaniumMangle.cpp62 static bool isLambda(const NamedDecl *ND) { in isLambda() argument
140 getNextDiscriminator(const NamedDecl * ND,unsigned & disc) getNextDiscriminator() argument
307 write(raw_ostream & Out,const NamedDecl * ND,const AbiTagList * AdditionalAbiTags) write() argument
484 addSubstitution(const NamedDecl * ND) addSubstitution() argument
711 isInternalLinkageDecl(const NamedDecl * ND) isInternalLinkageDecl() argument
722 isUniqueInternalLinkageDecl(const NamedDecl * ND) isUniqueInternalLinkageDecl() argument
804 writeAbiTags(const NamedDecl * ND,const AbiTagList * AdditionalAbiTags) writeAbiTags() argument
811 mangleSourceNameWithAbiTags(const NamedDecl * ND,const AbiTagList * AdditionalAbiTags) mangleSourceNameWithAbiTags() argument
980 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); isTemplate() local
1012 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); mangleName() local
1058 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); mangleNameWithAbiTags() local
1108 mangleModuleName(const NamedDecl * ND) mangleModuleName() argument
1171 const TemplateDecl *ND = cast<TemplateDecl>(GD.getDecl()); mangleUnscopedTemplateName() local
1464 const NamedDecl *ND = cast_or_null<NamedDecl>(GD.getDecl()); mangleUnqualifiedName() local
1774 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); mangleNestedName() local
1915 const NamedDecl *ND = cast<NamedDecl>(D); mangleLocalName() local
1940 if (const NamedDecl *ND = dyn_cast<NamedDecl>(RD ? RD : D)) { mangleLocalName() local
1975 const auto *ND = cast<NamedDecl>(Context); mangleUnqualifiedBlock() local
2206 const NamedDecl *ND = cast<NamedDecl>(DC); manglePrefix() local
2259 const TemplateDecl *ND = cast<TemplateDecl>(GD.getDecl()); mangleTemplatePrefix() local
2285 getClosurePrefix(const Decl * ND) getClosurePrefix() argument
2308 mangleClosurePrefix(const NamedDecl * ND,bool NoFunction) mangleClosurePrefix() argument
3022 mangleNameOrStandardSubstitution(const NamedDecl * ND) mangleNameOrStandardSubstitution() argument
6703 mangleSubstitution(const NamedDecl * ND) mangleSubstitution() argument
6825 mangleStandardSubstitution(const NamedDecl * ND) mangleStandardSubstitution() argument
[all...]
/freebsd-src/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-src/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.h84 erase(NamedDecl * ND) erase() argument
125 if (NamedDecl *ND = getAsDecl()) getASTContext() local
248 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { addOrReplaceDecl() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h66 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); safeGetName() local
/freebsd-src/contrib/llvm-project/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
/freebsd-src/contrib/llvm-project/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
H A DAnalyzerStatsChecker.cpp98 const NamedDecl *ND = cast<NamedDecl>(D); in checkEndAnalysis() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrInfo.h48 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/freebsd-src/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.cpp226 const auto *ND = cast<NamedDecl>(D); in adjustTemplateImplicitInstantiation() local
269 static bool shouldSkipNamelessDecl(const NamedDecl *ND) { in shouldSkipNamelessDecl()
288 } else if (auto ND = dyn_cast<NamedDecl>(Parent)) { in adjustParent() local
H A DFileIndexRecord.cpp64 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in print() local
H A DIndexTypeSourceInfo.cpp61 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() local
230 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp1322 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { CppLookupName() local
1386 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { CppLookupName() local
1475 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { CppLookupName() local
1529 makeMergedDefinitionVisible(NamedDecl * ND) makeMergedDefinitionVisible() argument
2027 auto ND = cast<NamedDecl>(RD); findAcceptableDecl() local
2056 if (auto *ND = dyn_cast<NamespaceDecl>(D)) { getAcceptableDeclSlow() local
2094 isAvailableForLookup(Sema & SemaRef,NamedDecl * ND) isAvailableForLookup() argument
2335 NamespaceDecl *ND = I->getNominatedNamespace()->getOriginalNamespace(); LookupQualifiedNameInUsingDirectives() local
2351 NamespaceDecl *ND = Queue.pop_back_val(); LookupQualifiedNameInUsingDirectives() local
2550 NamedDecl *ND = *It++; LookupQualifiedName() local
2668 if (NamedDecl *ND = R.getAcceptableDecl(*I)) LookupQualifiedName() local
4011 add(NamedDecl * ND) add() argument
4034 checkHidden(NamedDecl * ND) checkHidden() argument
4156 if (NamedDecl *ND = Result.getAcceptableDecl(*I)) { lookupInDeclContext() local
4187 if (auto *ND = Result.getAcceptableDecl(D)) { lookupInDeclContext() local
4331 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) lookupInScope() local
4560 FoundDecl(NamedDecl * ND,NamedDecl * Hiding,DeclContext * Ctx,bool InBaseClass) FoundDecl() argument
4593 addName(StringRef Name,NamedDecl * ND,NestedNameSpecifier * NNS,bool isKeyword) addName() argument
4878 if (auto *ND = dyn_cast_or_null<NamespaceDecl>(C)) NamespaceSpecifierSet() local
4894 NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(DC); buildContextChain() local
4907 if (auto *ND = dyn_cast_or_null<NamespaceDecl>(C)) { buildNestedNameSpecifier() local
4942 } else if (NamedDecl *ND = addNameSpecifier() local
5600 NamedDecl *ND = C->getUnderlyingDecl(); ValidateCandidate() local
[all...]
H A DSemaCXXScopeSpec.cpp591 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) BuildCXXNestedNameSpecifier() local
600 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) BuildCXXNestedNameSpecifier() local
633 if (NamedDecl *ND = Corrected.getFoundDecl()) BuildCXXNestedNameSpecifier() local
817 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) BuildCXXNestedNameSpecifier() local
H A DSemaModule.cpp786 if (const auto *ND = dyn_cast<NamespaceDecl>(DC)) { ActOnStartExportDecl() local
838 if (auto *ND = dyn_cast<NamedDecl>(D)) { checkExportedDecl() local
872 if (auto *ND = dyn_cast<NamedDecl>(D)) { checkExportedDecl() local
[all...]
/freebsd-src/contrib/llvm-project/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
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp160 const NamedDecl *ND, llvm::ImmutableList<const CXXBaseSpecifier *> L) { in getPointerToMemberData()
196 const NamedDecl *ND = nullptr; in accumCXXBase() local

123456