Skip to content

Commit

Permalink
cleanup: remove obsolete Regex.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Mar 4, 2025
1 parent b1a1293 commit 2882311
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 36 deletions.
1 change: 0 additions & 1 deletion include/mimic++/Utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "mimic++/utilities/C++23Backports.hpp"
#include "mimic++/utilities/Concepts.hpp"
#include "mimic++/utilities/PriorityTag.hpp"
#include "mimic++/utilities/Regex.hpp"
#include "mimic++/utilities/SourceLocation.hpp"
#include "mimic++/utilities/TypeList.hpp"

Expand Down
10 changes: 9 additions & 1 deletion include/mimic++/printing/type/PostProcessing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "mimic++/printing/Format.hpp"
#include "mimic++/utilities/Algorithm.hpp"
#include "mimic++/utilities/C++23Backports.hpp"
#include "mimic++/utilities/Regex.hpp"

#include <array>
#include <cassert>
Expand All @@ -37,6 +36,15 @@ namespace mimicpp::printing::type::detail

#else

#include <regex>

namespace mimicpp
{
using RegexT = std::regex;
using SMatchT = std::smatch;
using SVMatchT = std::match_results<StringViewT::const_iterator>;
}

namespace mimicpp::printing::type::detail
{
constexpr StringViewT anonymousNamespaceTargetScopeText{"(anon ns)::"};
Expand Down
24 changes: 0 additions & 24 deletions include/mimic++/utilities/Regex.hpp

This file was deleted.

1 change: 0 additions & 1 deletion test/unit-tests/utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ target_sources(${TARGET_NAME}
"Algorithm.cpp"
"Concepts.cpp"
"C++23Backports.cpp"
"Regex.cpp"
"SourceLocation.cpp"
"TypeList.cpp"
)
9 changes: 0 additions & 9 deletions test/unit-tests/utilities/Regex.cpp

This file was deleted.

0 comments on commit 2882311

Please sign in to comment.