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

Function Try

ASTHelpers.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142//-----------------------------------------------------------------------------
143
144CXXTryStmt* Try(const Stmt* tryBody, CXXCatchStmt* catchAllBody)
145{
146 return CXXTryStmt::Create(
147 GetGlobalAST(), {}, const_cast<CompoundStmt*>(dyn_cast_or_null<CompoundStmt>(tryBody)), {catchAllBody});
148}
149//-----------------------------------------------------------------------------
150
151CXXCatchStmt* Catch(ArrayRef<Stmt*> body)

Callers 3

InsertArgMethod · 0.85
InsertMethodBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected