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

Function Catch

ASTHelpers.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149//-----------------------------------------------------------------------------
150
151CXXCatchStmt* Catch(ArrayRef<Stmt*> body)
152{
153 CompoundStmt* compStmt = mkCompoundStmt(body);
154
155 return new(GetGlobalAST()) CXXCatchStmt({}, nullptr, compStmt);
156}
157//-----------------------------------------------------------------------------
158
159CXXCatchStmt* Catch(Stmt* body)

Callers 3

InsertArgMethod · 0.85
InsertMethodBodyMethod · 0.85

Calls 1

mkCompoundStmtFunction · 0.85

Tested by

no test coverage detected