[all-commits] [llvm/llvm-project] a2fcf1: Fix `DEBUGLOG_WITH_STREAM_TYPE_AND_FILE` broken in...

Ingo Müller via All-commits all-commits at lists.llvm.org
Mon Jul 28 04:25:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2fcf18d71b3c3d4e7b52e558124eae8ae7c4a83
      https://github.com/llvm/llvm-project/commit/a2fcf18d71b3c3d4e7b52e558124eae8ae7c4a83
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Support/DebugLog.h
    M llvm/unittests/Support/DebugLogTest.cpp

  Log Message:
  -----------
  Fix `DEBUGLOG_WITH_STREAM_TYPE_AND_FILE` broken in #150750 (#150920)

This PR fixes the `DEBUGLOG_WITH_STREAM_TYPE_AND_FILE` macro that got
broken in #150750. That PR introduces a more sophisitaced version of
that macro and refactored some code in that process, making the
`getShortFileName` a free function instead of a class member function,
but did not adapt this macro to the refactored code.

Signed-off-by: Ingo Müller <ingomueller at google.com>



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