Lines Matching refs:SecondDecl
9813 const NamedDecl* SecondDecl = cast<NamedDecl>(SecondIt->first); in diagnoseOdrViolations() local
9815 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseOdrViolations()
9819 DeclarationName SecondName = SecondDecl->getDeclName(); in diagnoseOdrViolations()
9831 ODRDiagNote(SecondDecl->getLocation(), SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9842 const auto *SecondParam = cast<TemplateTypeParmDecl>(SecondDecl); in diagnoseOdrViolations()
9855 ODRDiagNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
9856 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9867 ODRDiagNote(SecondDecl->getLocation(), SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9874 const auto *SecondParam = cast<NonTypeTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
9887 ODRDiagNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
9888 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9899 ODRDiagNote(SecondDecl->getLocation(), SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9907 cast<TemplateTemplateParmDecl>(SecondDecl); in diagnoseOdrViolations()
9920 ODRDiagNote(SecondDecl->getLocation(), in diagnoseOdrViolations()
9921 SecondDecl->getSourceRange(), in diagnoseOdrViolations()
9932 ODRDiagNote(SecondDecl->getLocation(), SecondDecl->getSourceRange(), in diagnoseOdrViolations()
10023 Decl *SecondDecl = nullptr; in diagnoseOdrViolations() local
10039 SecondDecl = SecondIt == SecondHashes.end() ? nullptr : SecondIt->first; in diagnoseOdrViolations()
10043 SecondDecl ? DifferenceSelector(SecondDecl) : EndOfClass; in diagnoseOdrViolations()
10065 if (SecondDecl) { in diagnoseOdrViolations()
10066 Diag(SecondDecl->getLocation(), diag::note_second_module_difference) in diagnoseOdrViolations()
10067 << SecondDecl->getSourceRange(); in diagnoseOdrViolations()
10092 SecondLoc = SecondDecl->getLocation(); in diagnoseOdrViolations()
10093 SecondRange = SecondDecl->getSourceRange(); in diagnoseOdrViolations()
10178 StaticAssertDecl *SecondSA = cast<StaticAssertDecl>(SecondDecl); in diagnoseOdrViolations()
10234 FieldDecl *SecondField = cast<FieldDecl>(SecondDecl); in diagnoseOdrViolations()
10350 const CXXMethodDecl *SecondMethod = cast<CXXMethodDecl>(SecondDecl); in diagnoseOdrViolations()
10703 TypedefNameDecl *SecondTD = cast<TypedefNameDecl>(SecondDecl); in diagnoseOdrViolations()
10734 VarDecl *SecondVD = cast<VarDecl>(SecondDecl); in diagnoseOdrViolations()
10805 FriendDecl *SecondFriend = cast<FriendDecl>(SecondDecl); in diagnoseOdrViolations()
10854 cast<FunctionTemplateDecl>(SecondDecl); in diagnoseOdrViolations()
11158 Diag(SecondDecl->getLocation(), in diagnoseOdrViolations()
11160 << SecondModule << FirstDiffType << SecondDecl->getSourceRange(); in diagnoseOdrViolations()