[all-commits] [llvm/llvm-project] 7ea5f1: [lldb] Rename lldb_assert -> _lldb_assert (NFC) (#...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 16 13:31:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ea5f195039ba357285076043ad381ed22e3842e
      https://github.com/llvm/llvm-project/commit/7ea5f195039ba357285076043ad381ed22e3842e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M lldb/include/lldb/Utility/LLDBAssert.h
    M lldb/source/Utility/LLDBAssert.cpp

  Log Message:
  -----------
  [lldb] Rename lldb_assert -> _lldb_assert (NFC) (#123225)

Rename `lldb_assert` to `_lldb_assert` to make it more obvious that you
shouldn't be using this function directly. Instead, you should use the
`lldbassert` macro which becomes a regular assert in a debug/asserts
build.



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