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

Function Int32

ASTHelpers.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308//-----------------------------------------------------------------------------
309
310IntegerLiteral* Int32(uint64_t value)
311{
312 auto& ctx = GetGlobalAST();
313 llvm::APInt v{32, value, true};
314
315 return IntegerLiteral::Create(ctx, v, ctx.IntTy, {});
316}
317//-----------------------------------------------------------------------------
318
319MemberExpr* AccessMember(const Expr* expr, const ValueDecl* vd, bool isArrow)

Callers 9

InsertCoroutineMethod · 0.85
InsertArgMethod · 0.85
CaseFunction · 0.85
ArraySubscriptFunction · 0.85
InsertArgMethod · 0.85
CallVecDeleteOrDtorFunction · 0.85
CallVecNewOrCtorFunction · 0.85
InsertArgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected