Removed dead code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user