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

Function mkUnaryOperator

ASTHelpers.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72//-----------------------------------------------------------------------------
73
74static UnaryOperator* mkUnaryOperator(const Expr* stmt, UnaryOperatorKind kind, QualType type)
75{
76 return UnaryOperator::Create(
77 GetGlobalAST(), const_cast<Expr*>(stmt), kind, type, VK_PRValue, OK_Ordinary, {}, false, {});
78}
79//-----------------------------------------------------------------------------
80
81UnaryOperator* Not(const Expr* stmt)

Callers 4

NotFunction · 0.85
mkReferenceFunction · 0.85
DrefFunction · 0.85
AddrOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected