Initial refactor of id_t to a separate class
This commit is contained in:
@@ -178,27 +178,27 @@ bool is_subexpr_of(const clang::Stmt *parent_stmt, const clang::Stmt *sub_stmt);
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
template <typename T> id_t to_id(const T &declaration);
|
||||
template <typename T> common::id_t to_id(const T &declaration);
|
||||
|
||||
template <> id_t to_id(const std::string &full_name);
|
||||
template <> common::id_t to_id(const std::string &full_name);
|
||||
|
||||
id_t to_id(const clang::QualType &type, const clang::ASTContext &ctx);
|
||||
common::id_t to_id(const clang::QualType &type, const clang::ASTContext &ctx);
|
||||
|
||||
template <> id_t to_id(const clang::NamespaceDecl &declaration);
|
||||
template <> common::id_t to_id(const clang::NamespaceDecl &declaration);
|
||||
|
||||
template <> id_t to_id(const clang::CXXRecordDecl &declaration);
|
||||
template <> common::id_t to_id(const clang::CXXRecordDecl &declaration);
|
||||
|
||||
template <> id_t to_id(const clang::RecordDecl &declaration);
|
||||
template <> common::id_t to_id(const clang::RecordDecl &declaration);
|
||||
|
||||
template <> id_t to_id(const clang::EnumDecl &declaration);
|
||||
template <> common::id_t to_id(const clang::EnumDecl &declaration);
|
||||
|
||||
template <> id_t to_id(const clang::TagDecl &declaration);
|
||||
template <> common::id_t to_id(const clang::TagDecl &declaration);
|
||||
|
||||
template <> id_t to_id(const clang::EnumType &type);
|
||||
template <> common::id_t to_id(const clang::EnumType &type);
|
||||
|
||||
template <> id_t to_id(const clang::TemplateSpecializationType &type);
|
||||
template <> common::id_t to_id(const clang::TemplateSpecializationType &type);
|
||||
|
||||
template <> id_t to_id(const std::filesystem::path &type);
|
||||
template <> common::id_t to_id(const std::filesystem::path &type);
|
||||
/** @} */ // end of to_id
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user