[libcxx-commits] [PATCH] D124391: [libcxx][NFC] Inclusive language: remove use of sanity check

Quinn Pham via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 25 07:59:25 PDT 2022


quinnp created this revision.
Herald added a project: All.
quinnp requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124391

Files:
  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


Index: libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
===================================================================
--- libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
+++ libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
@@ -36,7 +36,7 @@
 
 int main(int, char**)
 {
-    // sanity check
+    // check pbackfail
     {
         testbuf<char> tb("");
         tb.pbackfail();
Index: libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
===================================================================
--- libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
+++ libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
@@ -38,7 +38,7 @@
 
 int main(int, char**)
 {
-    // sanity check
+    // check overflow
     {
         testbuf<char> tb("");
         tb.overflow();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124391.424911.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220425/cbe0f46b/attachment.bin>


More information about the libcxx-commits mailing list