Added handling of comment decorators (skip, note) in sequence diagram comments (#194)
This commit is contained in:
@@ -282,8 +282,15 @@ clang::QualType dereference(clang::QualType type);
|
||||
std::pair<clang::QualType, std::deque<common::model::context>>
|
||||
consume_type_context(clang::QualType type);
|
||||
|
||||
std::optional<std::string> get_expression_comment(
|
||||
const clang::SourceManager &sm, const clang::ASTContext &context,
|
||||
const clang::Stmt *stmt);
|
||||
/**
|
||||
* @brief Extract a comment before or next to a statement
|
||||
*
|
||||
* @param sm clang::SourceManager reference
|
||||
* @param context clang::ASTContext reference
|
||||
* @param stmt Pointer to the current clang::Stmt
|
||||
* @return Pointer to a clang::RawComment* or nullptr
|
||||
*/
|
||||
clang::RawComment *get_expression_raw_comment(const clang::SourceManager &sm,
|
||||
const clang::ASTContext &context, const clang::Stmt *stmt);
|
||||
|
||||
} // namespace clanguml::common
|
||||
|
||||
Reference in New Issue
Block a user