[all-commits] [llvm/llvm-project] af88bc: [libc++][NFC] Use _LIBCPP_DEBUG_ASSERT in <string>

philnik777 via All-commits all-commits at lists.llvm.org
Tue Dec 14 23:40:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af88bc153d67ce023b69106364ad4938146b9b2d
      https://github.com/llvm/llvm-project/commit/af88bc153d67ce023b69106364ad4938146b9b2d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++][NFC] Use _LIBCPP_DEBUG_ASSERT in <string>

Use `_LIBCPP_DEBUG_ASSERT` instead of `_LIBCPP_ASSERT` and guarding it with `LIBCPP_DEBUG_LEVEL == 2`

Reviewed By: ldionne, #libc

Spies: libcxx-commits

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




More information about the All-commits mailing list