transReturnStmt

This commit is contained in:
hryx
2019-06-10 23:06:54 -07:00
parent 84e479d94f
commit 0f545e5a2b
4 changed files with 40 additions and 0 deletions

View File

@@ -2017,3 +2017,8 @@ struct ZigClangSourceLocation ZigClangIntegerLiteral_getBeginLoc(const struct Zi
auto casted = reinterpret_cast<const clang::IntegerLiteral *>(self);
return bitcast(casted->getBeginLoc());
}
const struct ZigClangExpr *ZigClangReturnStmt_getRetValue(const struct ZigClangReturnStmt *self) {
auto casted = reinterpret_cast<const clang::ReturnStmt *>(self);
return reinterpret_cast<const struct ZigClangExpr *>(casted->getRetValue());
}