Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorOmar Boukli-Hacene2024-04-25 22:10:17 +0200
committerMartin Hořeňovský2024-08-13 19:51:00 +0200
commit9721048a32e245aae0e8ec6799302577a5c751e4 (patch)
treeb64d75a2b2d152f8cec73b901c229eba4da21a6a /src/catch2/internal
parentaad0a3a8d6d0021fb2b08cf5049253b29b9046f3 (diff)
downloadcatch3-9721048a32e245aae0e8ec6799302577a5c751e4.tar.gz
Move header from internal
Move `catch_case_sensitive.hpp` from directory `src/catch2/internal/internal` to be directly under `src/catch2/`. Header `catch_case_sensitive.hpp` defines `enum CaseSensitive` which is part of the public API, since it is exposed by the string matcher contracts. Fixes issue caught by Clang Tidy misc-include-cleaner check.
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_case_sensitive.hpp17
-rw-r--r--src/catch2/internal/catch_wildcard_pattern.hpp2
2 files changed, 1 insertions, 18 deletions
diff --git a/src/catch2/internal/catch_case_sensitive.hpp b/src/catch2/internal/catch_case_sensitive.hpp
deleted file mode 100644
index cc891104..00000000
--- a/src/catch2/internal/catch_case_sensitive.hpp
+++ /dev/null
@@ -1,17 +0,0 @@
-
-// Copyright Catch2 Authors
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE.txt or copy at
-// https://www.boost.org/LICENSE_1_0.txt)
-
-// SPDX-License-Identifier: BSL-1.0
-#ifndef CATCH_CASE_SENSITIVE_HPP_INCLUDED
-#define CATCH_CASE_SENSITIVE_HPP_INCLUDED
-
-namespace Catch {
-
- enum class CaseSensitive { Yes, No };
-
-} // namespace Catch
-
-#endif // CATCH_CASE_SENSITIVE_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_wildcard_pattern.hpp b/src/catch2/internal/catch_wildcard_pattern.hpp
index 72479ba8..4f410859 100644
--- a/src/catch2/internal/catch_wildcard_pattern.hpp
+++ b/src/catch2/internal/catch_wildcard_pattern.hpp
@@ -8,7 +8,7 @@
#ifndef CATCH_WILDCARD_PATTERN_HPP_INCLUDED
#define CATCH_WILDCARD_PATTERN_HPP_INCLUDED
-#include <catch2/internal/catch_case_sensitive.hpp>
+#include <catch2/catch_case_sensitive.hpp>
#include <string>