Added support for C++20 coroutines in class diagrams (#221)

This commit is contained in:
Bartek Kryza
2023-12-15 20:00:56 +01:00
parent 7be848b8a1
commit f2fe1ca2cf
16 changed files with 218 additions and 1 deletions

View File

@@ -295,4 +295,12 @@ consume_type_context(clang::QualType type);
clang::RawComment *get_expression_raw_comment(const clang::SourceManager &sm,
const clang::ASTContext &context, const clang::Stmt *stmt);
/**
* Check if function or method declaration is a C++20 coroutine.
*
* @param decl Function declaration
* @return True, if the function is a C++20 coroutine.
*/
bool is_coroutine(const clang::FunctionDecl &decl);
} // namespace clanguml::common