/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 291 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag() local 292 declName = ND->getDeclName().getAsString(); in ReportDiag()
|
H A D | BugReporter.cpp | 3262 const auto *ND = dyn_cast<NamedDecl>(CP->getCallee()); in resetDiagnosticLocationToMainFile() local 3263 if (ND) { in resetDiagnosticLocationToMainFile() 3266 os << " (within a call to '" << ND->getDeclName() << "')"; in resetDiagnosticLocationToMainFile()
|
/freebsd/contrib/llvm-project/compiler-rt/include/profile/ |
H A D | InstrProfData.inc | 598 uint32_t ND = Closure->GetNumValueDataForSite(Record, ValueKind, S); 599 This->SiteCountArray[S] = ND; 601 DstVD += ND;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfData.inc | 598 uint32_t ND = Closure->GetNumValueDataForSite(Record, ValueKind, S); 599 This->SiteCountArray[S] = ND; 601 DstVD += ND;
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexBody.cpp | 170 llvm::function_ref<bool(const NamedDecl *ND)> Filter) { in indexDependentReference()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 3035 if (ND && ((isa<VarDecl>(ND) && ND->getKind() == Decl::Var) || in ValidateCandidate() 3036 isa<FunctionDecl>(ND))) { in ValidateCandidate() 3099 NamedDecl *ND = CanonicalVD; in ActOnOpenMPIdExpression() local 19050 auto ND = cast<NamedDecl>(RD); in findAcceptableDecl() local 19052 return ND; in findAcceptableDecl() 23307 if (!isa<VarDecl>(ND) && !isa<FunctionDecl>(ND) && in lookupOpenMPDeclareTargetName() 23312 return ND; in lookupOpenMPDeclareTargetName() 23318 assert((isa<VarDecl>(ND) || isa<FunctionDecl>(ND) || in ActOnOpenMPDeclareTargetName() 23325 (ND->isUsed(/*CheckUsedAttr=*/false) || ND->isReferenced())) in ActOnOpenMPDeclareTargetName() 23335 auto *VD = cast<ValueDecl>(ND); in ActOnOpenMPDeclareTargetName() [all …]
|
H A D | SemaExpr.cpp | 2547 if (ND) { in DiagnoseEmptyLookup() 2565 ND = Best->FoundDecl; in DiagnoseEmptyLookup() 2566 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup() 2570 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup() 2574 R.addDecl(ND); in DiagnoseEmptyLookup() 6510 ND = Best->FoundDecl; in TryTypoCorrectionForCall() 6517 ND = ND->getUnderlyingDecl(); in TryTypoCorrectionForCall() 6518 if (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)) in TryTypoCorrectionForCall() 18582 const NamedDecl *ND = FD; in HandleImmediateInvocations() local 18585 ND = MD->getParent(); in HandleImmediateInvocations() [all …]
|
H A D | SemaChecking.cpp | 18068 const NamedDecl *ND = nullptr; in CheckArrayAccess() local 18073 ND = DRE->getDecl(); in CheckArrayAccess() 18075 ND = ME->getMemberDecl(); in CheckArrayAccess() 18077 if (ND) in CheckArrayAccess() 18165 const NamedDecl *ND = nullptr; in CheckArrayAccess() local 18170 ND = DRE->getDecl(); in CheckArrayAccess() 18172 ND = ME->getMemberDecl(); in CheckArrayAccess() 18174 if (ND) in CheckArrayAccess() 19451 const NamedDecl *ND = m.RD; in DiagnoseMisalignedMembers() local 19452 if (ND->getName().empty()) { in DiagnoseMisalignedMembers() [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | mail.local.linux | 183 M$.AH4:%0SPB4!^00!)8">W*05;1>4D.R-$0W!/*8(MT#GMA.)X!#4058!`ND 199 MLC)-0`[ND`<<Y#'MHK=#T+$/)H`[^FH3%0D@@+#2UZ6`!S(AAM6P9!5(F-7%
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGVTables.cpp | 1248 if (auto *ND = dyn_cast<NamespaceDecl>(D)) in AlwaysHasLTOVisibilityPublic() local 1249 if (const IdentifierInfo *II = ND->getIdentifier()) in AlwaysHasLTOVisibilityPublic()
|
H A D | CGDebugInfo.cpp | 5356 const NamedDecl *ND = dyn_cast<NamedDecl>(D); in GetName() local 5357 if (!ND) in GetName() 5368 if (auto *RD = dyn_cast<CXXRecordDecl>(ND)) { in GetName() 5370 } else if (auto *FD = dyn_cast<FunctionDecl>(ND)) { in GetName() 5372 auto NameKind = ND->getDeclName().getNameKind(); in GetName() 5376 } else if (auto *VD = dyn_cast<VarDecl>(ND)) { in GetName() 5450 ND->getNameForDiagnostic(OS, PP, Qualified); in GetName() 5458 OS << ND->getDeclName(); in GetName() 5461 EncodedOriginalNameOS << ND->getDeclName(); in GetName() 5470 ND->getNameForDiagnostic(OriginalOS, PP, Qualified); in GetName()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 165 QualType getDeclUsageType(ASTContext &C, const NamedDecl *ND);
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 860 static void setNonTypeAnnotation(Token &Tok, NamedDecl *ND) { in setNonTypeAnnotation() argument 861 Tok.setAnnotationValue(ND); in setNonTypeAnnotation() 868 static void setIdentifierAnnotation(Token &Tok, IdentifierInfo *ND) { in setIdentifierAnnotation() argument 869 Tok.setAnnotationValue(ND); in setIdentifierAnnotation()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 2919 const auto *ND = dyn_cast<NamedDecl>(D); in GroupNewVirtualOverloads() local 2920 if (!ND) in GroupNewVirtualOverloads() 2925 std::make_pair(ND->getDeclName(), Groups.size())); in GroupNewVirtualOverloads() 2928 if (const auto *MD = dyn_cast<CXXMethodDecl>(ND)) in GroupNewVirtualOverloads()
|
H A D | ASTContext.cpp | 1010 void ASTContext::mergeDefinitionIntoModule(NamedDecl *ND, Module *M, in mergeDefinitionIntoModule() argument 1014 Listener->RedefinedHiddenDefinition(ND, M); in mergeDefinitionIntoModule() 1016 MergedDefModules[cast<NamedDecl>(ND->getCanonicalDecl())].push_back(M); in mergeDefinitionIntoModule() 1019 void ASTContext::deduplicateMergedDefinitonsFor(NamedDecl *ND) { in deduplicateMergedDefinitonsFor() argument 2913 if (const auto *ID = dyn_cast<ObjCInterfaceDecl>(ND->getDeclContext())) in getObjContainingInterface() 2915 if (const auto *CD = dyn_cast<ObjCCategoryDecl>(ND->getDeclContext())) in getObjContainingInterface() 2917 if (const auto *IMD = dyn_cast<ObjCImplDecl>(ND->getDeclContext())) in getObjContainingInterface() 12066 if (const auto *RD = dyn_cast<CXXRecordDecl>(ND)) in createDeviceMangleContext() 12138 MangleNumbers[ND] = Number; in setManglingNumber() 12141 unsigned ASTContext::getManglingNumber(const NamedDecl *ND, in getManglingNumber() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 676 NamedDecl *ND = dyn_cast<NamedDecl>(D); in FNContextRAII() local 682 ND && ND->isCXXInstanceMember()); in FNContextRAII() 1913 NamedDecl *ND = in ParseOMPDeclareTargetClauses() local 1915 if (!ND) in ParseOMPDeclareTargetClauses() 1918 bool FirstMapping = DTCI.ExplicitlyMapped.try_emplace(ND, MI).second; in ParseOMPDeclareTargetClauses()
|
H A D | ParseTentative.cpp | 1208 [](NamedDecl *ND) { return ND->isCXXInstanceMember(); })) in ValidateCandidate() argument
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LocalizationChecker.cpp | 727 if (auto *ND = dyn_cast<NamedDecl>(D)) { in isDebuggingContext() local 728 if (isDebuggingName(ND->getNameAsString())) in isDebuggingContext()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclBase.h | 1375 DeclListNode(NamedDecl *ND) : D(ND) {}
|
H A D | Decl.h | 489 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) { 490 ND.printName(OS); 4940 const NamedDecl *ND) { 4941 PD.AddTaggedVal(reinterpret_cast<uint64_t>(ND),
|
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 881 if (const auto *ND = dyn_cast<NamedDecl>(D)) { in dumpNode() local 882 ND->printQualifiedName(OS); in dumpNode()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 1042 uint32_t ND = getValueProfRecordNumValueData(this); in swapBytes() local 1046 for (uint32_t I = 0; I < ND; I++) { in swapBytes()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 7973 NamedDecl *ND = cast<NamedDecl>(GetDecl(ID)); in FindExternalVisibleDeclsByName() local 7974 if (ND->getDeclName() == Name && Found.insert(ND).second) in FindExternalVisibleDeclsByName() 7975 Decls.push_back(ND); in FindExternalVisibleDeclsByName() 7994 NamedDecl *ND = cast<NamedDecl>(GetDecl(ID)); in completeVisibleDeclsMap() local 7995 Decls[ND->getDeclName()].push_back(ND); in completeVisibleDeclsMap() 9778 getContext().deduplicateMergedDefinitonsFor(ND); in finishPendingActions() 9910 if (auto *ND = dyn_cast<NamedDecl>(CanonMember)) in diagnoseOdrViolations() local 9911 if (ND->getDeclName() == D->getDeclName()) in diagnoseOdrViolations() 9912 Candidates.push_back(ND); in diagnoseOdrViolations() 10146 for (auto *ND : It->second) in pushExternalDeclIntoScope() local [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 3229 if (const auto *ND = BN.get<NamedDecl>()) { in AST_MATCHER_P() 3230 if (!isa<FieldDecl, CXXMethodDecl, VarDecl>(ND)) in AST_MATCHER_P() 3232 return ND->getName() != MemberName; in AST_MATCHER_P()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 1099 NarrowIVDefUse(Instruction *ND, Instruction *NU, Instruction *WD, in NarrowIVDefUse() 1101 : NarrowDef(ND), NarrowUse(NU), WideDef(WD), in NarrowIVDefUse()
|