Added support for CUDA calls in sequence diagrams (#263)

This commit is contained in:
Bartek Kryza
2024-05-01 18:18:23 +02:00
parent dfb4f38ded
commit 67363013fe
25 changed files with 543 additions and 46 deletions

View File

@@ -315,4 +315,13 @@ bool is_coroutine(const clang::FunctionDecl &decl);
*/
bool is_struct(const clang::NamedDecl *decl);
/**
* Check if function declaration contains specified attributed
*
* @param decl Function declaration
* @param function_attr Clang function attribute
* @return True, if decl contains specified function attribute
*/
bool has_attr(const clang::FunctionDecl *decl, clang::attr::Kind function_attr);
} // namespace clanguml::common