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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 1448   if (!PrevClassTemplate && PrevDecl && isa<CXXRecordDecl>(PrevDecl) &&
 1451     PrevClassTemplate
 1453     if (!PrevClassTemplate && isa<ClassTemplateSpecializationDecl>(PrevDecl)) {
 1454       PrevClassTemplate
 1479         PrevDecl = PrevClassTemplate = nullptr;
 1500     PrevDecl = PrevClassTemplate = nullptr;
 1505         !(PrevClassTemplate &&
 1506           PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals(
 1513       PrevDecl = PrevClassTemplate = nullptr;
 1517   if (PrevClassTemplate) {
 1523                                    PrevClassTemplate->getTemplateParameters(),
 1533     RecordDecl *PrevRecordDecl = PrevClassTemplate->getTemplatedDecl();
 1584           PrevClassTemplate
 1585               ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters()
 1597     if (!SS.isInvalid() && !Invalid && !PrevClassTemplate) {
 1615                           PrevClassTemplate && ShouldAddRedecl ?
 1616                             PrevClassTemplate->getTemplatedDecl() : nullptr,
 1637     NewTemplate->setPreviousDecl(PrevClassTemplate);
 1652   if (PrevClassTemplate &&
 1653       PrevClassTemplate->getInstantiatedFromMemberTemplate())
 1654     PrevClassTemplate->setMemberSpecialization();
 1658     SetMemberAccessSpecifier(NewTemplate, PrevClassTemplate, AS);
 1669   if (PrevClassTemplate)
 1670     mergeDeclAttributes(NewClass, PrevClassTemplate->getTemplatedDecl());
 1682     if (PrevClassTemplate && PrevClassTemplate->getAccess() != AS_none) {
 1682     if (PrevClassTemplate && PrevClassTemplate->getAccess() != AS_none) {
 1683       NewTemplate->setAccess(PrevClassTemplate->getAccess());
 1684       NewClass->setAccess(PrevClassTemplate->getAccess());
 1704   if (PrevClassTemplate)
 1705     CheckRedeclarationModuleOwnership(NewTemplate, PrevClassTemplate);