Home | History | Annotate | Download | only in Sema

Lines Matching refs:UD

5562       UsingDirectiveDecl* UD
5570 UD->setImplicit();
5571 CurContext->addDecl(UD);
5970 NamedDecl *UD = BuildUsingDeclaration(S, AS, UsingLoc, SS,
5974 if (UD)
5975 PushOnScopeChains(UD, S, /*AddToContext*/ false);
5977 return UD;
6132 UsingDecl *UD,
6144 UD->getLocation(), UD, Target);
6145 UD->addShadowDecl(Shadow);
6147 Shadow->setAccess(UD->getAccess());
6148 if (Orig->isInvalidDecl() || UD->isInvalidDecl())
6283 UsingDecl *UD = cast<UsingDecl>(D);
6286 UD->setInvalidDecl();
6287 return UD;
6292 if (CheckInheritingConstructorUsingDecl(UD))
6293 UD->setInvalidDecl();
6294 return UD;
6320 UD->setInvalidDecl();
6321 return UD;
6325 UD->setInvalidDecl();
6326 return UD;
6336 UD->setInvalidDecl();
6337 return UD;
6346 UD->setInvalidDecl();
6347 return UD;
6356 UD->setInvalidDecl();
6357 return UD;
6361 if (!CheckUsingShadowDecl(UD, *I, Previous))
6362 BuildUsingShadowDecl(S, UD, *I);
6365 return UD;
6369 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) {
6370 assert(!UD->isTypeName() && "expecting a constructor name");
6372 const Type *SourceType = UD->getQualifier()->getAsType();
6391 Diag(UD->getUsingLocation(),
6393 << UD->getNameInfo().getSourceRange()
6430 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
6431 DTypename = UD->isTypeName();
6432 DQual = UD->getQualifier();
6433 } else if (UnresolvedUsingValueDecl *UD
6436 DQual = UD->getQualifier();
6437 } else if (UnresolvedUsingTypenameDecl *UD
6440 DQual = UD->getQualifier();
7075 UsingDecl *UD = Result.getAsSingle<UsingDecl>();
7076 SourceLocation UsingLoc = UD ? UD->getLocation() :