Initial refactor of namespace handling
This commit is contained in:
@@ -154,14 +154,14 @@ translation_unit_context::get_type_alias_template(
|
||||
|
||||
void translation_unit_context::push_namespace(const std::string &ns)
|
||||
{
|
||||
namespace_.push_back(ns);
|
||||
ns_ |= ns;
|
||||
}
|
||||
|
||||
void translation_unit_context::pop_namespace() { namespace_.pop_back(); }
|
||||
void translation_unit_context::pop_namespace() { ns_.pop_back(); }
|
||||
|
||||
const std::vector<std::string> &translation_unit_context::get_namespace() const
|
||||
const common::model::namespace_ &translation_unit_context::get_namespace() const
|
||||
{
|
||||
return namespace_;
|
||||
return ns_;
|
||||
}
|
||||
|
||||
const cppast::cpp_entity_index &translation_unit_context::entity_index() const
|
||||
|
||||
Reference in New Issue
Block a user