[all-commits] [llvm/llvm-project] 2a78c6: [lldb] Fix warning: suggest explicit braces to avo...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Jul 21 13:43:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a78c6d45d4965df35e8cb766f557e7ae52477a8
https://github.com/llvm/llvm-project/commit/2a78c6d45d4965df35e8cb766f557e7ae52477a8
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M lldb/unittests/DAP/TestBase.cpp
Log Message:
-----------
[lldb] Fix warning: suggest explicit braces to avoid ambiguous ‘else’
According to the LLVM Style Guide we don't need braces because it's a
single-line, but it looks like the macro expands to code that includes a
potentially ambiguous "else". Use braces to silence the warning.
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