Fixed formatting
This commit is contained in:
@@ -1161,9 +1161,7 @@ void translation_unit_visitor::
|
||||
const std::string &type_name, template_parameter &tp, class_ &c)
|
||||
{
|
||||
auto template_params = cx::util::parse_unexposed_template_params(
|
||||
type_name, [this](const std::string &t) {
|
||||
return t;
|
||||
});
|
||||
type_name, [this](const std::string &t) { return t; });
|
||||
|
||||
found_relationships_t relationships;
|
||||
for (auto ¶m : template_params) {
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
|
||||
#include <clang/AST/RecursiveASTVisitor.h>
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
namespace clang {
|
||||
class NamespaceDecl;
|
||||
|
||||
@@ -63,7 +63,6 @@ void generator::generate_relationships(
|
||||
void generator::generate(const source_file &f, std::ostream &ostr) const
|
||||
{
|
||||
|
||||
|
||||
if (f.type() == common::model::source_file_t::kDirectory) {
|
||||
LOG_DBG("Generating directory {}", f.name());
|
||||
|
||||
@@ -105,10 +104,7 @@ void generator::generate(std::ostream &ostr) const
|
||||
|
||||
// Generate files and folders
|
||||
util::for_each_if(
|
||||
m_model,
|
||||
[this](const auto &f) {
|
||||
return true;
|
||||
},
|
||||
m_model, [this](const auto &f) { return true; },
|
||||
[this, &ostr](const auto &f) {
|
||||
generate(dynamic_cast<source_file &>(*f), ostr);
|
||||
});
|
||||
|
||||
@@ -52,14 +52,16 @@ public:
|
||||
clang::StringRef relative_path, const clang::Module *imported,
|
||||
clang::SrcMgr::CharacteristicKind file_type) override;
|
||||
|
||||
std::optional<common::id_t> process_internal_header(const std::filesystem::path &include_path,
|
||||
bool is_system, const common::id_t current_file_id);
|
||||
std::optional<common::id_t> process_internal_header(
|
||||
const std::filesystem::path &include_path, bool is_system,
|
||||
const common::id_t current_file_id);
|
||||
|
||||
std::optional<common::id_t> process_external_system_header(
|
||||
const std::filesystem::path &include_path,
|
||||
const common::id_t current_file_id);
|
||||
|
||||
std::optional<common::id_t> process_source_file(const std::filesystem::path &file);
|
||||
std::optional<common::id_t> process_source_file(
|
||||
const std::filesystem::path &file);
|
||||
|
||||
clanguml::include_diagram::model::diagram &diagram()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user