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

Function Sizeof

ASTHelpers.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169//-----------------------------------------------------------------------------
170
171UnaryExprOrTypeTraitExpr* Sizeof(QualType toType)
172{
173 const auto& ctx = GetGlobalAST();
174 return new(ctx) UnaryExprOrTypeTraitExpr(UETT_SizeOf, ctx.getTrivialTypeSourceInfo(toType), toType, {}, {});
175}
176//-----------------------------------------------------------------------------
177
178CXXStaticCastExpr* Cast(const Expr* toExpr, QualType toType)

Callers 6

InsertArgMethod · 0.85
InsertArgMethod · 0.85
CallVecDeleteOrDtorFunction · 0.85
CallVecNewOrCtorFunction · 0.85
InsertArgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected