Parse documentation comments
This commit is contained in:
parent
e787b845d5
commit
183aeaafde
21 changed files with 451 additions and 45 deletions
|
|
@ -122,6 +122,12 @@ namespace cppast
|
|||
static_cast<cpp_function_base&>(*function).noexcept_expr_ = std::move(cond);
|
||||
}
|
||||
|
||||
/// \returns The not yet finished function.
|
||||
T& get() noexcept
|
||||
{
|
||||
return *function;
|
||||
}
|
||||
|
||||
/// \effects If the body is a definition, registers it.
|
||||
/// Else marks it as a declaration.
|
||||
/// \returns The finished function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue