MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Cast

Function Cast

ASTHelpers.cpp:178–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176//-----------------------------------------------------------------------------
177
178CXXStaticCastExpr* Cast(const Expr* toExpr, QualType toType)
179{
180 return StaticCast(toType, const_cast<Expr*>(toExpr), false);
181}
182//-----------------------------------------------------------------------------
183
184QualType Ptr(QualType srcType)

Callers 3

CastToVoidFunPtrFunction · 0.85
InsertArgMethod · 0.85
InsertCXXMethodDeclMethod · 0.85

Calls 1

StaticCastFunction · 0.85

Tested by

no test coverage detected