Home
last modified time | relevance | path

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

12345678910>>...12

/external/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
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DConcatNestedNamespacesCheck.cpp25 static bool anonymousOrInlineNamespace(const NamespaceDecl &ND) { in anonymousOrInlineNamespace()
29 static bool singleNamedNamespaceChild(const NamespaceDecl &ND) { in singleNamedNamespaceChild()
56 [&Result](const NamespaceDecl *ND) { in concatNamespaces()
79 const NamespaceDecl &ND = *Result.Nodes.getNodeAs<NamespaceDecl>("namespace"); in check() local
/external/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
/external/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
129 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit()
134 bool visit(const NamedDecl *ND, SourceLocation Loc) { in visit()
/external/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()
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()
DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC()
67 const NamedDecl *ND) { in getCallingConvMangling()
291 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
461 const NamedDecl *ND = cast<NamedDecl>(D); in getAllManglings() local
532 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
/external/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
/external/llvm-project/clang-tools-extra/clangd/
DAST.cpp43 getTemplateSpecializationArgLocs(const NamedDecl &ND) { in getTemplateSpecializationArgLocs()
168 std::string printQualifiedName(const NamedDecl &ND) { in printQualifiedName()
187 NestedNameSpecifierLoc getQualifierLoc(const NamedDecl &ND) { in getQualifierLoc()
207 std::string printName(const ASTContext &Ctx, const NamedDecl &ND) { in printName()
248 std::string printTemplateSpecializationArgs(const NamedDecl &ND) { in printTemplateSpecializationArgs()
430 const NamedDecl *ND) { in getQualification()
448 const NamedDecl *ND, in getQualification()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllSymbols.cpp46 std::vector<SymbolInfo::Context> GetContexts(const NamedDecl *ND) { in GetContexts()
73 CreateSymbolInfo(const NamedDecl *ND, const SourceManager &SM, in CreateSymbolInfo()
244 const NamedDecl *ND; in run() local
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp45 const NamedDecl &getTemplateOrThis(const NamedDecl &ND) { in getTemplateOrThis()
80 bool isPrivateProtoDecl(const NamedDecl &ND) { in isPrivateProtoDecl()
166 bool isPreferredDeclaration(const NamedDecl &ND, index::SymbolRoleSet Roles) { in isPreferredDeclaration()
210 bool SymbolCollector::shouldCollectSymbol(const NamedDecl &ND, in shouldCollectSymbol()
299 const NamedDecl *ND = dyn_cast<NamedDecl>(D); in handleDeclOccurrence() local
491 const NamedDecl &ND, const SymbolID &ID, in processRelations()
537 for (const NamedDecl *ND : ReferencedDecls) { in finish() local
643 const Symbol *SymbolCollector::addDeclaration(const NamedDecl &ND, SymbolID ID, in addDeclaration()
717 void SymbolCollector::addDefinition(const NamedDecl &ND, in addDefinition()
/external/llvm-project/clang/unittests/Analysis/
DCloneDetectionTest.cpp80 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST() local
99 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST() local
/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp141 *dyn_cast<UsingDecl>(&findDecl(AST, [&](const NamedDecl &ND) { in TEST()
371 const NamedDecl *CtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST()
434 const NamedDecl *CtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST()
438 const NamedDecl *DtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST()
466 const NamedDecl *Operator = &findDecl(AST, [](const NamedDecl &ND) { in TEST()
DASTTests.cpp124 findDecl(AST, [&](const NamedDecl &ND) { in TEST()
190 findDecl(AST, [&](const NamedDecl &ND) { in TEST()
/external/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
/external/clang/lib/AST/
DItaniumMangle.cpp116 static bool isLambda(const NamedDecl *ND) { in isLambda()
179 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
294 void write(raw_ostream &Out, const NamedDecl *ND, in write()
453 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
475 void mangleUnqualifiedName(const NamedDecl *ND, in mangleUnqualifiedName()
616 void CXXNameMangler::writeAbiTags(const NamedDecl *ND, in writeAbiTags()
623 const NamedDecl *ND, const AbiTagList *AdditionalAbiTags) { in mangleSourceNameWithAbiTags()
774 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate()
800 void CXXNameMangler::mangleName(const NamedDecl *ND) { in mangleName()
833 void CXXNameMangler::mangleNameWithAbiTags(const NamedDecl *ND, in mangleNameWithAbiTags()
[all …]
DMangle.cpp59 static bool isExternC(const NamedDecl *ND) { in isExternC()
66 const NamedDecl *ND) { in getCallingConvMangling()
241 else if (auto ND = dyn_cast<NamedDecl>(DC)) { in mangleBlock() local
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DASTUtils.h70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); in safeGetName() local
/external/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
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DNestedNameSpecifiers.cpp29 if (const NamespaceDecl *ND = in TraverseNestedNameSpecifierLoc() local
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCInstrInfo.h32 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/external/llvm/include/llvm/MC/
DMCInstrInfo.h33 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddisable_reduced_arity_initialization_extension.pass.cpp43 typedef NoDefault ND; in test_default_constructible_extension_sfinae() typedef
/external/llvm-project/clang/lib/Index/
DFileIndexRecord.cpp54 if (auto ND = dyn_cast<NamedDecl>(D)) { in print() local

12345678910>>...12