[libcxx-commits] [PATCH] D113910: Remove not needed call to __is_long()

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 16 08:25:28 PST 2021


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

Will edit as-of committing.



================
Comment at: libcxx/include/string:2661
         __grow_by(__cap, 1, __sz, __sz, 0);
-        __is_short = !__is_long();
+        __is_short = false;
     }
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113910/new/

https://reviews.llvm.org/D113910



More information about the libcxx-commits mailing list