/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
H A D | RenamingAction.h | 59 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
|
/llvm-project/clang/lib/AST/ |
H A D | ASTImporterLookupTable.cpp | 104 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add() argument 110 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove() argument 126 add(NamedDecl * ND) add() argument 135 remove(NamedDecl * ND) remove() argument 144 update(NamedDecl * ND,DeclContext * OldDC) update() argument 157 updateForced(NamedDecl * ND,DeclContext * OldDC) updateForced() argument [all...] |
H A D | Linkage.h | 93 static QueryType makeCacheKey(const NamedDecl *ND, LVComputationKind Kind) { in makeCacheKey() 97 std::optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup() 105 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info) { in cache()
|
/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl() 49 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl() 53 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl() 85 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl() 93 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> { in WriteNamedDecl() 163 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl() 284 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit() local 286 for (const NamedDecl *ND : v.NamedDecls) in HandleTranslationUnit() local
|
/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RecursiveSymbolVisitor.h | 36 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()
|
/llvm-project/clang/include/clang/AST/ |
H A D | ASTImporterSharedState.h | 59 if (auto *ND = dyn_cast<NamedDecl>(D)) in addDeclToLookup() local 65 if (auto *ND = dyn_cast<NamedDecl>(D)) in removeDeclFromLookup() local
|
H A D | DeclContextInternals.h | 96 void erase(NamedDecl *ND) { in erase() argument 137 if (NamedDecl *ND = getAsDecl()) in getASTContext() local 255 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { addOrReplaceDecl() local [all...] |
/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
H A D | FindAllSymbols.cpp | 46 std::vector<SymbolInfo::Context> GetContexts(const NamedDecl *ND) { in GetContexts() 73 CreateSymbolInfo(const NamedDecl *ND, const SourceManager &SM, in CreateSymbolInfo() 246 const NamedDecl *ND; in run() local
|
/llvm-project/clang/unittests/Analysis/ |
H A D | CloneDetectionTest.cpp | 80 ASSERT_TRUE(ND != nullptr); in TEST() local 99 ASSERT_TRUE(ND != nullptr); in TEST() local
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | ConcatNestedNamespacesCheck.cpp | 96 bool ConcatNestedNamespacesCheck::unsupportedNamespace(const NamespaceDecl &ND, in unsupportedNamespace() 134 for (const NS &ND : Namespaces) { in reportDiagnostic() local 169 const NamespaceDecl &ND = *Result.Nodes.getNodeAs<NamespaceDecl>("namespace"); in check() local
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | ASTUtils.h | 69 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode); safeGetName() local
|
/llvm-project/clang-tools-extra/include-cleaner/lib/ |
H A D | WalkAST.cpp | 39 report(SourceLocation Loc,NamedDecl * ND,RefType RT=RefType::Explicit) report() argument 83 auto *ND = resolveTemplateName(TST->getTemplateName()); getMostRelevantTemplatePattern() local 192 reportSpecializations(SourceLocation Loc,NamedDecl * ND) reportSpecializations() argument 291 reportType(SourceLocation RefLoc,NamedDecl * ND) reportType() argument [all...] |
H A D | FindHeaders.cpp | 80 if (const auto *ND = llvm::dyn_cast<NamedDecl>(&S.declaration())) symbolName() local 117 headerForAmbiguousStdSymbol(const NamedDecl * ND) headerForAmbiguousStdSymbol() argument 155 const auto *ND = llvm::cast<NamedDecl>(&S.declaration()); headersForSpecialSymbol() local [all...] |
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | SymbolCollector.cpp | 59 /// If \p ND is a template specialization, returns the described template. in getTemplateOrThis() argument 69 isPrivateProtoDecl(const NamedDecl & ND) isPrivateProtoDecl() argument 139 isPreferredDeclaration(const NamedDecl & ND,index::SymbolRoleSet Roles) isPreferredDeclaration() argument 173 isSpelled(SourceLocation Loc,const NamedDecl & ND) isSpelled() argument 462 shouldCollectSymbol(const NamedDecl & ND,const ASTContext & ASTCtx,const Options & Opts,bool IsMainFileOnly) shouldCollectSymbol() argument 521 const auto *ND = dyn_cast<NamedDecl>(Enclosing); getRefContainer() local 574 const NamedDecl *ND = dyn_cast<NamedDecl>(D); handleDeclOccurrence() local 792 processRelations(const NamedDecl & ND,const SymbolID & ID,ArrayRef<index::SymbolRelation> Relations) processRelations() argument 985 addDeclaration(const NamedDecl & ND,SymbolID ID,bool IsMainFileOnly) addDeclaration() argument 1061 addDefinition(const NamedDecl & ND,const Symbol & DeclSym) addDefinition() argument [all...] |
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | QualityTests.cpp | 144 *dyn_cast<UsingDecl>(&findDecl(AST, [&](const NamedDecl &ND) { in TEST() 374 const NamedDecl *CtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST() 437 const NamedDecl *CtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST() 441 const NamedDecl *DtorDecl = &findDecl(AST, [](const NamedDecl &ND) { in TEST() 469 const NamedDecl *Operator = &findDecl(AST, [](const NamedDecl &ND) { in TEST()
|
/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFinder.cpp | 43 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence() 108 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl()
|
H A D | RenamingAction.cpp | 46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences() 68 const NamedDecl *ND = in initiate() local 94 const NamedDecl *ND = in initiate() local
|
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
H A D | NestedNameSpecifiers.cpp | 29 if (const NamespaceDecl *ND = TraverseNestedNameSpecifierLoc() local
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | StandaloneEmptyCheck.cpp | 129 Name, [](const NamedDecl *ND) { in check() 178 ArgRecordDecl->lookupDependentName(Name, [](const NamedDecl *ND) { in check()
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | ASTSignals.cpp | 28 for (const NamedDecl *ND : Ref.Targets) { in derive() local
|
H A D | Quality.cpp | 53 static SymbolQualitySignals::SymbolCategory categorize(const NamedDecl &ND) { in categorize() argument 154 static bool isInstanceMember(const NamedDecl *ND) { in isInstanceMember() argument 307 if (const NamedDecl *ND in computeASTSignals() local [all...] |
H A D | AST.cpp | 48 getTemplateSpecializationArgLocs(const NamedDecl &ND) { in getTemplateSpecializationArgLocs() argument 177 printQualifiedName(const NamedDecl & ND) printQualifiedName() argument 199 getQualifierLoc(const NamedDecl & ND) getQualifierLoc() argument 219 printName(const ASTContext & Ctx,const NamedDecl & ND) printName() argument 260 printTemplateSpecializationArgs(const NamedDecl & ND) printTemplateSpecializationArgs() argument 421 if (const auto *ND = llvm::dyn_cast<NamedDecl>(&D)) hasReservedName() local 431 if (const auto *ND = llvm::dyn_cast<NamedDecl>(D)) hasReservedScope() local 663 getQualification(ASTContext & Context,const DeclContext * DestContext,SourceLocation InsertionPoint,const NamedDecl * ND) getQualification() argument 681 getQualification(ASTContext & Context,const DeclContext * DestContext,const NamedDecl * ND,llvm::ArrayRef<std::string> VisibleNamespaces) getQualification() argument [all...] |
/llvm-project/clang-tools-extra/clang-tidy/misc/ |
H A D | UnusedUsingDeclsCheck.cpp | 143 if (const auto *ND = T->getAsTagDecl()) check() local 179 for (const NamedDecl *ND : ULE->decls()) { check() local
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | AnalysisOrderChecker.cpp | 128 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
|
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInstrInfo.h | 48 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
|