Lines Matching refs:ND
296 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC))
297 if (ND->isAnonymousNamespace())
910 const NamespaceDecl *ND = cast<NamespaceDecl>(this);
911 if (ND->isInline()) {
912 return ND->getParent()->isStdNamespace();
918 const IdentifierInfo *II = ND->getIdentifier();
1252 NamedDecl *ND = cast<NamedDecl>(D);
1255 if (!ND->getDeclName()) return;
1261 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName());
1263 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND)
1264 Pos->second.remove(ND);
1299 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1300 ND->getDeclContext()->getPrimaryContext()->
1301 makeDeclVisibleInContextWithFlags(ND, false, true);
1307 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1308 ND->getDeclContext()->getPrimaryContext()->
1309 makeDeclVisibleInContextWithFlags(ND, true, true);
1388 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1389 if (ND->getDeclContext() == DCtx && !shouldBeHidden(ND) &&
1390 (!ND->isFromASTFile() ||
1393 makeDeclVisibleInContextImpl(ND, Internal);
1528 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
1529 if (ND->getDeclName() == Name)
1530 Results.push_back(ND);