[all-commits] [llvm/llvm-project] 8afab7: [lldb][Format] Fall back to old function.name-with...

Michael Buch via All-commits all-commits at lists.llvm.org
Sat Jul 12 14:41:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8afab759d471b60863b8304e39bf6a8b415221dc
      https://github.com/llvm/llvm-project/commit/8afab759d471b60863b8304e39bf6a8b415221dc
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-07-12 (Sat, 12 Jul 2025)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp
    A lldb/test/Shell/Settings/TestCxxFrameFormatEmpty.test

  Log Message:
  -----------
  [lldb][Format] Fall back to old function.name-with-args if language frame format is emtpy (#148235)

There is currently no way to prevent `${function.name-with-args}` from
using the `plugin.cplusplus.display.function-name-format` setting. Even
if the setting is set to an empty string. As a way to disable formatting
by language plugin, this patch makes it so
`plugin.cplusplus.display.function-name-format` falls back to the old
way of printing `${function.name-with-args}`. Even if we didn't want to
add a fallback, making the setting an empty string shouldn't really
"succeed".



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