37 const auto TT = *Result.Nodes.getNodeAs<QualType>(
"target_type");
38 const auto ST = *Result.Nodes.getNodeAs<QualType>(
"source_type");
39 const auto VT = *Result.Nodes.getNodeAs<QualType>(
"void_type");
40 const auto *CE = Result.Nodes.getNodeAs<ExplicitCastExpr>(
"cast");
41 diag(CE->getExprLoc(),
42 "do not cast %0 to %1 through %2; use reinterpret_cast instead")