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

Function Bool

ASTHelpers.cpp:651–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649//-----------------------------------------------------------------------------
650
651CXXBoolLiteralExpr* Bool(bool b)
652{
653 auto& ctx = GetGlobalAST();
654 return new(ctx) CXXBoolLiteralExpr(b, ctx.BoolTy, {});
655}
656//-----------------------------------------------------------------------------
657
658CallExpr* CallDestructor(const VarDecl* varDecl)

Callers 4

InsertCoroutineMethod · 0.70
InsertArgMethod · 0.70
InsertArgMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected