Lines Matching refs:SecondDecl
9894 Decl *FirstDecl = nullptr, *SecondDecl = nullptr; in diagnoseOdrViolations() member
9915 DR.SecondDecl = in diagnoseOdrViolations()
9921 DR.SecondDecl ? DifferenceSelector(DR.SecondDecl) : EndOfClass; in diagnoseOdrViolations()
9947 if (DR.SecondDecl) { in diagnoseOdrViolations()
9948 Diag(DR.SecondDecl->getLocation(), diag::note_second_module_difference) in diagnoseOdrViolations()
9949 << DR.SecondDecl->getSourceRange(); in diagnoseOdrViolations()
9975 SecondLoc = DR.SecondDecl->getLocation(); in diagnoseOdrViolations()
9976 SecondRange = DR.SecondDecl->getSourceRange(); in diagnoseOdrViolations()
10166 const NamedDecl* SecondDecl = cast<NamedDecl>(SecondIt->first); in diagnoseOdrViolations() local
10168 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseOdrViolations()
10172 DeclarationName SecondName = SecondDecl->getDeclName(); in diagnoseOdrViolations()
10185 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10186 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10197 const auto *SecondParam = cast<TemplateTypeParmDecl>(SecondDecl); in diagnoseOdrViolations()
10210 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10211 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10223 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10224 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10231 const auto *SecondParam = cast<NonTypeTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
10244 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10245 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10257 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10258 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10266 cast<TemplateTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
10279 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10280 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10292 ODRDiagTemplateNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
10293 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10319 Decl *SecondDecl = DR.SecondDecl; in diagnoseOdrViolations() local
10347 StaticAssertDecl *SecondSA = cast<StaticAssertDecl>(SecondDecl); in diagnoseOdrViolations()
10406 cast<FieldDecl>(SecondDecl)); in diagnoseOdrViolations()
10422 const CXXMethodDecl *SecondMethod = cast<CXXMethodDecl>(SecondDecl); in diagnoseOdrViolations()
10788 cast<TypedefNameDecl>(FirstDecl), cast<TypedefNameDecl>(SecondDecl), in diagnoseOdrViolations()
10795 cast<VarDecl>(FirstDecl), cast<VarDecl>(SecondDecl)); in diagnoseOdrViolations()
10800 FriendDecl *SecondFriend = cast<FriendDecl>(SecondDecl); in diagnoseOdrViolations()
10851 cast<FunctionTemplateDecl>(SecondDecl); in diagnoseOdrViolations()
11171 Diag(SecondDecl->getLocation(), in diagnoseOdrViolations()
11173 << SecondModule << FirstDiffType << SecondDecl->getSourceRange(); in diagnoseOdrViolations()