reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1104 if (D1->isUnion() != D2->isUnion()) { 1106 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( 1108 << Context.ToCtx.getTypeDeclType(D2); 1115 if (!D1->getDeclName() && !D2->getDeclName()) { 1122 D2)) { 1132 const auto *Spec2 = dyn_cast<ClassTemplateSpecializationDecl>(D2); 1157 D2 = D2->getDefinition(); 1157 D2 = D2->getDefinition(); 1158 if (!D1 || !D2) 1167 if (D1->hasExternalLexicalStorage() || D2->hasExternalLexicalStorage()) 1172 if (D1->isBeingDefined() || D2->isBeingDefined()) 1176 if (auto *D2CXX = dyn_cast<CXXRecordDecl>(D2)) { 1191 Context.Diag2(D2->getLocation(), 1194 << Context.ToCtx.getTypeDeclType(D2); 1195 Context.Diag2(D2->getLocation(), diag::note_odr_number_of_bases) 1211 Context.Diag2(D2->getLocation(), 1214 << Context.ToCtx.getTypeDeclType(D2); 1226 Context.Diag2(D2->getLocation(), 1229 << Context.ToCtx.getTypeDeclType(D2); 1247 Context.Diag2(D2->getLocation(), 1252 Context.Diag2(D2->getLocation(), diag::note_odr_missing_friend); 1259 Context.Diag2(D2->getLocation(), 1272 Context.Diag2(D2->getLocation(), 1275 << Context.ToCtx.getTypeDeclType(D2); 1283 Context.Diag2(D2->getLocation(), 1286 << Context.ToCtx.getTypeDeclType(D2); 1290 Context.Diag2(D2->getLocation(), diag::note_odr_missing_base); 1297 RecordDecl::field_iterator Field2 = D2->field_begin(), 1298 Field2End = D2->field_end(); 1304 Context.Diag2(D2->getLocation(), 1307 << Context.ToCtx.getTypeDeclType(D2); 1310 Context.Diag2(D2->getLocation(), diag::note_odr_missing_field); 1321 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( 1323 << Context.ToCtx.getTypeDeclType(D2);