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

References

tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  169     CastFromTy = Call.parameters()[0]->getType();
  172     CastFromTy = Object->getType();
  174       if (!CastFromTy->isPointerType())
  177       if (!CastFromTy->isReferenceType())
  180       CastFromTy = alignReferenceTypes(CastFromTy, CastToTy, C.getASTContext());
  180       CastFromTy = alignReferenceTypes(CastFromTy, CastToTy, C.getASTContext());
  186       getDynamicCastInfo(State, MR, CastFromTy, CastToTy);
  189   bool CastSucceeds = IsCheckedCast || CastFromTy == CastToTy;
  204   bool IsKnownCast = CastInfo || IsCheckedCast || CastFromTy == CastToTy;
  206     State = setDynamicTypeAndCastInfo(State, MR, CastFromTy, CastToTy,
  209   SVal V = CastSucceeds ? C.getSValBuilder().evalCast(DV, CastToTy, CastFromTy)