[all-commits] [llvm/llvm-project] d17d89: [libc++] Remove not needed call to __is_long()

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Nov 16 08:26:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d17d89f4eb62c9a17c98cb069d9b5d85f83a7671
      https://github.com/llvm/llvm-project/commit/d17d89f4eb62c9a17c98cb069d9b5d85f83a7671
  Author: Nilay Vaish <nilayvaish at google.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Remove not needed call to __is_long()

The string is known to be long since __grow_by unconditionally calls
__set_long_cap().

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




More information about the All-commits mailing list