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

References

tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  955     return IsStructurallyEquivalent(Context, D1, D2);
  962     if (Context.Complain) {
  963       Context.Diag2(
  965           Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
  966           << Context.ToCtx.getTypeDeclType(Owner2);
  967       Context.Diag2(Field2->getLocation(), diag::note_odr_field_name)
  969       Context.Diag1(Field1->getLocation(), diag::note_odr_field_name)
  975   if (!IsStructurallyEquivalent(Context, Field1->getType(),
  977     if (Context.Complain) {
  978       Context.Diag2(
  980           Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
  981           << Context.ToCtx.getTypeDeclType(Owner2);
  982       Context.Diag2(Field2->getLocation(), diag::note_odr_field)
  984       Context.Diag1(Field1->getLocation(), diag::note_odr_field)
  991     if (Context.Complain) {
  992       Context.Diag2(
  994           Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
  995           << Context.ToCtx.getTypeDeclType(Owner2);
  997         Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
  999             << Field1->getBitWidthValue(Context.FromCtx);
 1000         Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field)
 1003         Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field)
 1005             << Field2->getBitWidthValue(Context.ToCtx);
 1006         Context.Diag1(Field1->getLocation(), diag::note_odr_not_bit_field)
 1015     unsigned Bits1 = Field1->getBitWidthValue(Context.FromCtx);
 1016     unsigned Bits2 = Field2->getBitWidthValue(Context.ToCtx);
 1019       if (Context.Complain) {
 1020         Context.Diag2(Owner2->getLocation(),
 1021                       Context.getApplicableDiagnostic(
 1023             << Context.ToCtx.getTypeDeclType(Owner2);
 1024         Context.Diag2(Field2->getLocation(), diag::note_odr_bit_field)
 1026         Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)