reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  710   TypeSourceInfo *DI = D->getTypeSourceInfo();
  714                            D->getLocation(), D->getDeclName());
  714                            D->getLocation(), D->getDeclName());
  720     SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
  728   CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
  733       D->getIdentifier() && D->getIdentifier()->isStr("type") &&
  733       D->getIdentifier() && D->getIdentifier()->isStr("type") &&
  734       SemaRef.getSourceManager().isInSystemHeader(D->getBeginLoc()))
  742     Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(),
  743                                     D->getLocation(), D->getIdentifier(), DI);
  743                                     D->getLocation(), D->getIdentifier(), DI);
  745     Typedef = TypedefDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(),
  746                                   D->getLocation(), D->getIdentifier(), DI);
  746                                   D->getLocation(), D->getIdentifier(), DI);
  752   if (const TagType *oldTagType = D->getUnderlyingType()->getAs<TagType>()) {
  754     if (oldTag->getTypedefNameForAnonDecl() == D && !Invalid) {
  761   if (TypedefNameDecl *Prev = getPreviousDeclForInstantiation(D)) {
  762     NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev,
  775   SemaRef.InstantiateAttrs(TemplateArgs, D, Typedef);
  777   if (D->getUnderlyingType()->getAs<DependentNameType>())
  780   Typedef->setAccess(D->getAccess());