Lines Matching defs:ND
81 if (const auto *ND = llvm::dyn_cast<NamedDecl>(&S.declaration()))
82 if (auto *II = ND->getIdentifier())
118 headerForAmbiguousStdSymbol(const NamedDecl *ND) {
119 if (!ND->isInStdNamespace())
121 if (auto* USD = llvm::dyn_cast<UsingShadowDecl>(ND))
122 ND = USD->getTargetDecl();
123 const auto *FD = ND->getAsFunction();
126 llvm::StringRef FName = symbolName(*ND);
156 const auto *ND = llvm::cast<NamedDecl>(&S.declaration());
158 if (!ND)
160 auto *II = ND->getIdentifier();
166 if (auto Header = headerForAmbiguousStdSymbol(ND)) {
175 ND->getASTContext().BuiltinInfo.getHeaderName(ID);