ΒΆTryCastResult TryStaticImplicitCast(
    clang::Sema& Self,
    clang::ExprResult& SrcExpr,
    clang::QualType DestType,
    Sema::CheckedConversionKind CCK,
    clang::SourceRange OpRange,
    unsigned int& msg,
    clang::CastKind& Kind,
    bool ListInitialization)

Description

TryStaticImplicitCast - Tests whether a conversion according to C++ 5.2.9p2 is valid: An expression e can be explicitly converted to a type T using a@c static_cast if the declaration "T t(e);" is well-formed [...].

Declared at: clang/lib/Sema/SemaCast.cpp:1829

Parameters

clang::Sema& Self
clang::ExprResult& SrcExpr
clang::QualType DestType
Sema::CheckedConversionKind CCK
clang::SourceRange OpRange
unsigned int& msg
clang::CastKind& Kind
bool ListInitialization