Renamed common::id_t to eid_t to avoid conflicts with system id_t

This commit is contained in:
Bartek Kryza
2024-06-05 21:19:46 +02:00
parent 2cf9d2f22a
commit 420475ab64
57 changed files with 370 additions and 356 deletions

View File

@@ -178,27 +178,27 @@ bool is_subexpr_of(const clang::Stmt *parent_stmt, const clang::Stmt *sub_stmt);
*
* @{
*/
template <typename T> common::id_t to_id(const T &declaration);
template <typename T> eid_t to_id(const T &declaration);
template <> common::id_t to_id(const std::string &full_name);
template <> eid_t to_id(const std::string &full_name);
common::id_t to_id(const clang::QualType &type, const clang::ASTContext &ctx);
eid_t to_id(const clang::QualType &type, const clang::ASTContext &ctx);
template <> common::id_t to_id(const clang::NamespaceDecl &declaration);
template <> eid_t to_id(const clang::NamespaceDecl &declaration);
template <> common::id_t to_id(const clang::CXXRecordDecl &declaration);
template <> eid_t to_id(const clang::CXXRecordDecl &declaration);
template <> common::id_t to_id(const clang::RecordDecl &declaration);
template <> eid_t to_id(const clang::RecordDecl &declaration);
template <> common::id_t to_id(const clang::EnumDecl &declaration);
template <> eid_t to_id(const clang::EnumDecl &declaration);
template <> common::id_t to_id(const clang::TagDecl &declaration);
template <> eid_t to_id(const clang::TagDecl &declaration);
template <> common::id_t to_id(const clang::EnumType &type);
template <> eid_t to_id(const clang::EnumType &type);
template <> common::id_t to_id(const clang::TemplateSpecializationType &type);
template <> eid_t to_id(const clang::TemplateSpecializationType &type);
template <> common::id_t to_id(const std::filesystem::path &type);
template <> eid_t to_id(const std::filesystem::path &type);
/** @} */ // end of to_id
/**