initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
21
thirdparty/doctest/LICENSE.txt
vendored
Normal file
21
thirdparty/doctest/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016-2023 Viktor Kirilov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
7138
thirdparty/doctest/doctest.h
vendored
Normal file
7138
thirdparty/doctest/doctest.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
24
thirdparty/doctest/patches/0001-ciso646-version.patch
vendored
Normal file
24
thirdparty/doctest/patches/0001-ciso646-version.patch
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/thirdparty/doctest/doctest.h b/thirdparty/doctest/doctest.h
|
||||
index 52b4a4aa30..4a1e4a09d7 100644
|
||||
--- a/thirdparty/doctest/doctest.h
|
||||
+++ b/thirdparty/doctest/doctest.h
|
||||
@@ -490,13 +490,17 @@ DOCTEST_GCC_SUPPRESS_WARNING_POP
|
||||
#endif
|
||||
#endif // DOCTEST_CONFIG_USE_IOSFWD
|
||||
|
||||
-// for clang - always include ciso646 (which drags some std stuff) because
|
||||
-// we want to check if we are using libc++ with the _LIBCPP_VERSION macro in
|
||||
+// for clang - always include <version> or <ciso646> (which drags some std stuff)
|
||||
+// because we want to check if we are using libc++ with the _LIBCPP_VERSION macro in
|
||||
// which case we don't want to forward declare stuff from std - for reference:
|
||||
// https://github.com/doctest/doctest/issues/126
|
||||
// https://github.com/doctest/doctest/issues/356
|
||||
#if DOCTEST_CLANG
|
||||
+#if DOCTEST_CPLUSPLUS >= 201703L && __has_include(<version>)
|
||||
+#include <version>
|
||||
+#else
|
||||
#include <ciso646>
|
||||
+#endif
|
||||
#endif // clang
|
||||
|
||||
#ifdef _LIBCPP_VERSION
|
Reference in New Issue
Block a user