Lines Matching defs:UD
147 void visit(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
148 DeclContext *NS = UD->getNominatedNamespace();
152 addUsingDirective(UD, EffectiveDC);
162 for (auto *UD : DC->using_directives()) {
163 DeclContext *NS = UD->getNominatedNamespace();
164 if (SemaRef.isVisible(UD) && visited.insert(NS).second) {
165 addUsingDirective(UD, EffectiveDC);
184 void addUsingDirective(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
187 DeclContext *Common = UD->getNominatedNamespace();
192 list.push_back(UnqualUsingEntry(UD->getNominatedNamespace(), Common));