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

References

tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1105     if (Context.Complain) {
 1106       Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic(
 1106       Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic(
 1108           << Context.ToCtx.getTypeDeclType(D2);
 1109       Context.Diag1(D1->getLocation(), diag::note_odr_tag_kind_here)
 1135     if (!IsStructurallyEquivalent(Context, Spec1->getSpecializedTemplate(),
 1144       if (!IsStructurallyEquivalent(Context, Spec1->getTemplateArgs().get(I),
 1166   if (Context.EqKind == StructuralEquivalenceKind::Minimal)
 1185         if (!IsStructurallyEquivalentLambdas(Context, D1CXX, D2CXX))
 1190         if (Context.Complain) {
 1191           Context.Diag2(D2->getLocation(),
 1192                         Context.getApplicableDiagnostic(
 1194               << Context.ToCtx.getTypeDeclType(D2);
 1195           Context.Diag2(D2->getLocation(), diag::note_odr_number_of_bases)
 1197           Context.Diag1(D1->getLocation(), diag::note_odr_number_of_bases)
 1208         if (!IsStructurallyEquivalent(Context, Base1->getType(),
 1210           if (Context.Complain) {
 1211             Context.Diag2(D2->getLocation(),
 1212                           Context.getApplicableDiagnostic(
 1214                 << Context.ToCtx.getTypeDeclType(D2);
 1215             Context.Diag2(Base2->getBeginLoc(), diag::note_odr_base)
 1217             Context.Diag1(Base1->getBeginLoc(), diag::note_odr_base)
 1225           if (Context.Complain) {
 1226             Context.Diag2(D2->getLocation(),
 1227                           Context.getApplicableDiagnostic(
 1229                 << Context.ToCtx.getTypeDeclType(D2);
 1230             Context.Diag2(Base2->getBeginLoc(), diag::note_odr_virtual_base)
 1232             Context.Diag1(Base1->getBeginLoc(), diag::note_odr_base)
 1246           if (Context.Complain) {
 1247             Context.Diag2(D2->getLocation(),
 1248                           Context.getApplicableDiagnostic(
 1250                 << Context.ToCtx.getTypeDeclType(D2CXX);
 1251             Context.Diag1((*Friend1)->getFriendLoc(), diag::note_odr_friend);
 1252             Context.Diag2(D2->getLocation(), diag::note_odr_missing_friend);
 1257         if (!IsStructurallyEquivalent(Context, *Friend1, *Friend2)) {
 1258           if (Context.Complain) {
 1259             Context.Diag2(D2->getLocation(),
 1260                           Context.getApplicableDiagnostic(
 1262                 << Context.ToCtx.getTypeDeclType(D2CXX);
 1263             Context.Diag1((*Friend1)->getFriendLoc(), diag::note_odr_friend);
 1264             Context.Diag2((*Friend2)->getFriendLoc(), diag::note_odr_friend);
 1271         if (Context.Complain) {
 1272           Context.Diag2(D2->getLocation(),
 1273                         Context.getApplicableDiagnostic(
 1275               << Context.ToCtx.getTypeDeclType(D2);
 1276           Context.Diag2((*Friend2)->getFriendLoc(), diag::note_odr_friend);
 1277           Context.Diag1(D1->getLocation(), diag::note_odr_missing_friend);
 1282       if (Context.Complain) {
 1283         Context.Diag2(D2->getLocation(),
 1284                       Context.getApplicableDiagnostic(
 1286             << Context.ToCtx.getTypeDeclType(D2);
 1288         Context.Diag1(Base1->getBeginLoc(), diag::note_odr_base)
 1290         Context.Diag2(D2->getLocation(), diag::note_odr_missing_base);
 1303       if (Context.Complain) {
 1304         Context.Diag2(D2->getLocation(),
 1305                       Context.getApplicableDiagnostic(
 1307             << Context.ToCtx.getTypeDeclType(D2);
 1308         Context.Diag1(Field1->getLocation(), diag::note_odr_field)
 1310         Context.Diag2(D2->getLocation(), diag::note_odr_missing_field);
 1315     if (!IsStructurallyEquivalent(Context, *Field1, *Field2))
 1320     if (Context.Complain) {
 1321       Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic(
 1321       Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic(
 1323           << Context.ToCtx.getTypeDeclType(D2);
 1324       Context.Diag2(Field2->getLocation(), diag::note_odr_field)
 1326       Context.Diag1(D1->getLocation(), diag::note_odr_missing_field);