[libcxx-commits] [libcxx] 09e75d3 - [libcxx][NFC] Inclusive language: remove use of sanity check

Quinn Pham via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 25 14:53:56 PDT 2022


Author: Quinn Pham
Date: 2022-04-25T16:53:51-05:00
New Revision: 09e75d3f0996d58cba7477d3d1f04b1e8e12c595

URL: https://github.com/llvm/llvm-project/commit/09e75d3f0996d58cba7477d3d1f04b1e8e12c595
DIFF: https://github.com/llvm/llvm-project/commit/09e75d3f0996d58cba7477d3d1f04b1e8e12c595.diff

LOG: [libcxx][NFC] Inclusive language: remove use of sanity check

from libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/

[NFC] As part of using inclusive language within the llvm project, this
patch rewords comments to remove sanity check.

Reviewed By: #libc, philnik

Differential Revision: https://reviews.llvm.org/D124391

Added: 
    

Modified: 
    libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
    libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
index 990f918ce51f0..6aedd8388f002 100644
--- a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
+++ b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
@@ -38,7 +38,7 @@ struct testbuf
 
 int main(int, char**)
 {
-    // sanity check
+    // check overflow
     {
         testbuf<char> tb("");
         tb.overflow();

diff  --git a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
index 9a7d30e1e214c..fb326022c6313 100644
--- a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
+++ b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
@@ -36,7 +36,7 @@ struct testbuf
 
 int main(int, char**)
 {
-    // sanity check
+    // check pbackfail
     {
         testbuf<char> tb("");
         tb.pbackfail();


        


More information about the libcxx-commits mailing list