Lines Matching refs:ND
246 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC))
247 if (ND->isAnonymousNamespace())
806 const NamespaceDecl *ND = cast<NamespaceDecl>(this);
807 if (ND->isInline()) {
808 return ND->getParent()->isStdNamespace();
814 const IdentifierInfo *II = ND->getIdentifier();
1147 NamedDecl *ND = cast<NamedDecl>(D);
1150 if (!ND->getDeclName()) return;
1155 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName());
1157 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND)
1158 Pos->second.remove(ND);
1191 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1192 ND->getDeclContext()->getPrimaryContext()->
1193 makeDeclVisibleInContextWithFlags(ND, false, true);
1199 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1200 ND->getDeclContext()->getPrimaryContext()->
1201 makeDeclVisibleInContextWithFlags(ND, true, true);
1274 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1275 if (ND->getDeclContext() == DCtx && !shouldBeHidden(ND) &&
1276 (!ND->isFromASTFile() ||
1279 makeDeclVisibleInContextImpl(ND, false);
1411 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1412 if (ND->getDeclName() == Name)
1413 Results.push_back(ND);