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

References

tools/clang/lib/Sema/SemaCast.cpp
  513 static CastAwayConstnessKind
  532   CastAwayConstnessKind Kind;
  540     Kind = CastAwayConstnessKind::CACK_Similar;
  542     Kind = CastAwayConstnessKind::CACK_Similar;
  547       return CastAwayConstnessKind::CACK_None;
  551       return CastAwayConstnessKind::CACK_None;
  555     Kind = T1Class == T2Class ? CastAwayConstnessKind::CACK_SimilarKind
  556                               : CastAwayConstnessKind::CACK_Incoherent;
  574       Kind = CastAwayConstnessKind::CACK_Incoherent;
  575     else if (Kind != CastAwayConstnessKind::CACK_Incoherent)
  576       Kind = CastAwayConstnessKind::CACK_SimilarKind;
  591 static CastAwayConstnessKind
  600     return CastAwayConstnessKind::CACK_None;
  619   auto WorstKind = CastAwayConstnessKind::CACK_Similar;
  619   auto WorstKind = CastAwayConstnessKind::CACK_Similar;
  621   while (auto Kind = unwrapCastAwayConstnessLevel(
  684   return CastAwayConstnessKind::CACK_None;
  687 static TryCastResult getCastAwayConstnessCastKind(CastAwayConstnessKind CACK,
  690   case CastAwayConstnessKind::CACK_None:
  693   case CastAwayConstnessKind::CACK_Similar:
  695   case CastAwayConstnessKind::CACK_SimilarKind:
  699   case CastAwayConstnessKind::CACK_Incoherent:
 2115     if (auto CACK =
 2244   if (auto CACK =
 2859       CastAwayConstnessKind::CACK_Similar)