Lines Matching refs:SecondDecl
9923 Decl *FirstDecl = nullptr, *SecondDecl = nullptr; in diagnoseOdrViolations() member
9944 DR.SecondDecl = in diagnoseOdrViolations()
9950 DR.SecondDecl ? DifferenceSelector(DR.SecondDecl) : EndOfClass; in diagnoseOdrViolations()
9976 if (DR.SecondDecl) { in diagnoseOdrViolations()
9977 Diag(DR.SecondDecl->getLocation(), diag::note_second_module_difference) in diagnoseOdrViolations()
9978 << DR.SecondDecl->getSourceRange(); in diagnoseOdrViolations()
10004 SecondLoc = DR.SecondDecl->getLocation(); in diagnoseOdrViolations()
10005 SecondRange = DR.SecondDecl->getSourceRange(); in diagnoseOdrViolations()
10195 const NamedDecl* SecondDecl = cast<NamedDecl>(SecondIt->first); in diagnoseOdrViolations() local
10197 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseOdrViolations()
10201 DeclarationName SecondName = SecondDecl->getDeclName(); in diagnoseOdrViolations()
10214 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10215 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10226 const auto *SecondParam = cast<TemplateTypeParmDecl>(SecondDecl); in diagnoseOdrViolations()
10239 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10240 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10252 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10253 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10260 const auto *SecondParam = cast<NonTypeTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
10273 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10274 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10286 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10287 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10295 cast<TemplateTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
10308 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10309 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10321 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10322 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10348 Decl *SecondDecl = DR.SecondDecl; in diagnoseOdrViolations() local
10376 StaticAssertDecl *SecondSA = cast<StaticAssertDecl>(SecondDecl); in diagnoseOdrViolations()
10435 cast<FieldDecl>(SecondDecl)); in diagnoseOdrViolations()
10451 const CXXMethodDecl *SecondMethod = cast<CXXMethodDecl>(SecondDecl); in diagnoseOdrViolations()
10817 cast<TypedefNameDecl>(FirstDecl), cast<TypedefNameDecl>(SecondDecl), in diagnoseOdrViolations()
10824 cast<VarDecl>(FirstDecl), cast<VarDecl>(SecondDecl)); in diagnoseOdrViolations()
10829 FriendDecl *SecondFriend = cast<FriendDecl>(SecondDecl); in diagnoseOdrViolations()
10880 cast<FunctionTemplateDecl>(SecondDecl); in diagnoseOdrViolations()
11200 Diag(SecondDecl->getLocation(), in diagnoseOdrViolations()
11202 << SecondModule << FirstDiffType << SecondDecl->getSourceRange(); in diagnoseOdrViolations()