[all-commits] [llvm/llvm-project] f896bd: [libc++] Diagnose when nullptrs are passed to stri...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Feb 27 13:57:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f896bd36701656c9af20c6e6e6e202537de47541
      https://github.com/llvm/llvm-project/commit/f896bd36701656c9af20c6e6e6e202537de47541
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/string
    A libcxx/test/libcxx/strings/basic.string/nonnull.verify.cpp
    M libcxx/utils/libcxx/test/params.py
    M runtimes/cmake/Modules/WarningFlags.cmake

  Log Message:
  -----------
  [libc++] Diagnose when nullptrs are passed to string APIs (#122790)

This allows catching misuses of APIs that take a pointer to a
null-terminated string.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list