[all-commits] [llvm/llvm-project] 5098b5: [libc++] Introduce a standalone __scope_guard and ...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Nov 11 15:00:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5098b56d22b53196e92788fbfd70b01212376db4
      https://github.com/llvm/llvm-project/commit/5098b56d22b53196e92788fbfd70b01212376db4
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__flat_map/flat_map.h
    M libcxx/include/__utility/exception_guard.h
    A libcxx/include/__utility/scope_guard.h
    M libcxx/include/module.modulemap
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Introduce a standalone __scope_guard and use it in <string> (#114867)

This introduces a new `__scope_guard` without any fancy features. The
scope guard is used in `<string>` to simplify some of the ASan
annotations (especially by making it harder to forget them where
exceptions are thrown).



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