mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-01 03:11:03 -07:00
Code::is_body reduction
This commit is contained in:
@ -354,15 +354,6 @@ CodeBody gen_ast_inlines()
|
||||
char const* code_impl_tmpl = stringize(
|
||||
\n
|
||||
inline
|
||||
bool <typename>::is_body()
|
||||
{
|
||||
if ( ast == nullptr )
|
||||
{
|
||||
return rcast(AST*, ast)->is_body();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
inline
|
||||
bool <typename>::is_equal( Code other )
|
||||
{
|
||||
if ( ast == nullptr || other.ast == nullptr )
|
||||
|
Reference in New Issue
Block a user