reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1104 if (D1->isUnion() != D2->isUnion()) { 1109 Context.Diag1(D1->getLocation(), diag::note_odr_tag_kind_here) 1110 << D1->getDeclName() << (unsigned)D1->getTagKind(); 1110 << D1->getDeclName() << (unsigned)D1->getTagKind(); 1115 if (!D1->getDeclName() && !D2->getDeclName()) { 1119 StructuralEquivalenceContext::findUntaggedStructOrUnionIndex(D1)) { 1131 const auto *Spec1 = dyn_cast<ClassTemplateSpecializationDecl>(D1); 1156 D1 = D1->getDefinition(); 1156 D1 = D1->getDefinition(); 1158 if (!D1 || !D2) 1167 if (D1->hasExternalLexicalStorage() || D2->hasExternalLexicalStorage()) 1172 if (D1->isBeingDefined() || D2->isBeingDefined()) 1175 if (auto *D1CXX = dyn_cast<CXXRecordDecl>(D1)) { 1197 Context.Diag1(D1->getLocation(), diag::note_odr_number_of_bases) 1277 Context.Diag1(D1->getLocation(), diag::note_odr_missing_friend); 1299 for (RecordDecl::field_iterator Field1 = D1->field_begin(), 1300 Field1End = D1->field_end(); 1326 Context.Diag1(D1->getLocation(), diag::note_odr_missing_field);