Lines Matching defs:UD
148 void visit(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
149 DeclContext *NS = UD->getNominatedNamespace();
153 addUsingDirective(UD, EffectiveDC);
163 for (auto *UD : DC->using_directives()) {
164 DeclContext *NS = UD->getNominatedNamespace();
165 if (SemaRef.isVisible(UD) && visited.insert(NS).second) {
166 addUsingDirective(UD, EffectiveDC);
185 void addUsingDirective(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
188 DeclContext *Common = UD->getNominatedNamespace();
193 list.push_back(UnqualUsingEntry(UD->getNominatedNamespace(), Common));