Removed dead code

This commit is contained in:
Bartek Kryza
2023-04-05 20:31:00 +02:00
parent 2b951fe170
commit cb74864d0d
10 changed files with 4 additions and 55 deletions

View File

@@ -30,11 +30,6 @@ element::element(namespace_ using_namespace)
{
}
void element::set_using_namespaces(const namespace_ &un)
{
using_namespace_ = un;
}
const namespace_ &element::using_namespace() const { return using_namespace_; }
inja::json element::context() const

View File

@@ -62,8 +62,6 @@ public:
virtual std::string full_name_no_ns() const { return name(); }
void set_using_namespaces(const namespace_ &un);
const namespace_ &using_namespace() const;
friend bool operator==(const element &l, const element &r);

View File

@@ -96,14 +96,6 @@ public:
auto full_path() const { return path() | name(); }
void add_file(std::unique_ptr<source_file> &&f)
{
LOG_DBG("Adding source file: {}, {}", f->name(), f->full_name(true));
const auto path = f->path();
add_element(path, std::move(f));
}
std::filesystem::path fs_path(const std::filesystem::path &base = {}) const
{
std::filesystem::path res;

View File

@@ -64,7 +64,7 @@ const std::vector<template_parameter> &template_trait::templates() const
}
int template_trait::calculate_template_specialization_match(
const template_trait &other, const std::string & /*full_name*/) const
const template_trait &other) const
{
int res{0};

View File

@@ -39,7 +39,7 @@ public:
const std::vector<template_parameter> &templates() const;
int calculate_template_specialization_match(
const template_trait &other, const std::string &full_name) const;
const template_trait &other) const;
bool is_implicit() const;