Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-03-08 22:48:16 +0300
committerLouis Dionne <ldionne.2@gmail.com>2022-03-09 20:38:30 +0300
commit54c4c01553e1ddcec654578a74081b341f82799b (patch)
tree9ec740200f7b6de7e383c949bbe1081162879a20 /libcxx
parent140aabec43d685ad3b957a4c8649112fde74031e (diff)
[libc++] Enable format_to and vformat_to tests even outside of Debug mode
These tests don't seem specific to the debug mode, so it makes sense to run them even when the debug mode is disabled. When we run with the debug mode enabled, we'll get the out-of-bounds checking that this test seems to be concerned with. Differential Revision: https://reviews.llvm.org/D121241
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp4
-rw-r--r--libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp4
2 files changed, 0 insertions, 8 deletions
diff --git a/libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp b/libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
index 89e38f50ec9a..1b6d94a4c140 100644
--- a/libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
+++ b/libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
@@ -11,10 +11,6 @@
// TODO FMT Evaluate gcc-11 status
// UNSUPPORTED: gcc-11
-// The tests write fixed size buffer, make sure it remains in bounds.
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
-// UNSUPPORTED: libcxx-no-debug-mode
-
// <format>
// template<class Out, class... Args>
diff --git a/libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp b/libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp
index 3f39fe27c472..86cacf2ce9f6 100644
--- a/libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp
+++ b/libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp
@@ -11,10 +11,6 @@
// TODO FMT Evaluate gcc-11 status
// UNSUPPORTED: gcc-11
-// The tests write fixed size buffer, make sure it remains in bounds.
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
-// UNSUPPORTED: libcxx-no-debug-mode
-
// <format>
// template<class Out>