Add cpp_function
This commit is contained in:
parent
160fa1fe64
commit
ddadcfe88c
11 changed files with 338 additions and 42 deletions
|
|
@ -36,6 +36,11 @@ const char* cppast::to_string(cpp_entity_kind kind) noexcept
|
|||
case cpp_entity_kind::variable_t:
|
||||
return "variable";
|
||||
|
||||
case cpp_entity_kind::function_parameter_t:
|
||||
return "function parameter";
|
||||
case cpp_entity_kind::function_t:
|
||||
return "function";
|
||||
|
||||
case cpp_entity_kind::count:
|
||||
break;
|
||||
}
|
||||
|
|
@ -59,6 +64,8 @@ bool cppast::is_type(cpp_entity_kind kind) noexcept
|
|||
case cpp_entity_kind::using_declaration_t:
|
||||
case cpp_entity_kind::enum_value_t:
|
||||
case cpp_entity_kind::variable_t:
|
||||
case cpp_entity_kind::function_parameter_t:
|
||||
case cpp_entity_kind::function_t:
|
||||
case cpp_entity_kind::count:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue