Added debug_mode config option

This commit is contained in:
Bartek Kryza
2022-12-26 21:47:27 +01:00
parent 1a344f9d8c
commit 887652ed6b
8 changed files with 66 additions and 4 deletions

View File

@@ -75,6 +75,13 @@ void translation_unit_visitor::set_source_location(
set_source_location(expr.getBeginLoc(), element);
}
void translation_unit_visitor::set_source_location(
const clang::Stmt &stmt, clanguml::common::model::source_location &element)
{
set_source_location(stmt.getBeginLoc(), element);
}
void translation_unit_visitor::set_source_location(
const clang::SourceLocation &location,
clanguml::common::model::source_location &element)

View File

@@ -79,6 +79,9 @@ protected:
void set_source_location(const clang::Expr &expr,
clanguml::common::model::source_location &element);
void set_source_location(const clang::Stmt &stmt,
clanguml::common::model::source_location &element);
/**
* @brief Set source location in diagram element
*