ΒΆTryCastResult TryStaticDowncast(
clang::Sema& Self,
clang::CanQualType SrcType,
clang::CanQualType DestType,
bool CStyle,
clang::SourceRange OpRange,
clang::QualType OrigSrcType,
clang::QualType OrigDestType,
unsigned int& msg,
clang::CastKind& Kind,
clang::CXXCastPath& BasePath)
TryCastResult TryStaticDowncast(
clang::Sema& Self,
clang::CanQualType SrcType,
clang::CanQualType DestType,
bool CStyle,
clang::SourceRange OpRange,
clang::QualType OrigSrcType,
clang::QualType OrigDestType,
unsigned int& msg,
clang::CastKind& Kind,
clang::CXXCastPath& BasePath)
Description
TryStaticDowncast - Common functionality of TryStaticReferenceDowncast and TryStaticPointerDowncast. Tests whether a static downcast from SrcType to DestType is possible and allowed.
Declared at: clang/lib/Sema/SemaCast.cpp:1599
Parameters
- clang::Sema& Self
- clang::CanQualType SrcType
- clang::CanQualType DestType
- bool CStyle
- clang::SourceRange OpRange
- clang::QualType OrigSrcType
- clang::QualType OrigDestType
- unsigned int& msg
- clang::CastKind& Kind
- clang::CXXCastPath& BasePath