[Lldb-commits] [lldb] [lldb] Match #undef to preceding #define (NFC) (PR #174821)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 7 10:21:11 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Dave Lee (kastiglione)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/174821.diff
1 Files Affected:
- (modified) lldb/source/DataFormatters/FormatterBytecode.cpp (+2-2)
``````````diff
diff --git a/lldb/source/DataFormatters/FormatterBytecode.cpp b/lldb/source/DataFormatters/FormatterBytecode.cpp
index 714de74abcb3c..c56d0b2a55e5b 100644
--- a/lldb/source/DataFormatters/FormatterBytecode.cpp
+++ b/lldb/source/DataFormatters/FormatterBytecode.cpp
@@ -27,7 +27,7 @@ std::string toString(FormatterBytecode::OpCodes op) {
return s ? s : #NAME; \
}
#include "FormatterBytecode.def"
-#undef DEFINE_SIGNATURE
+#undef DEFINE_OPCODE
}
return llvm::utostr(op);
}
@@ -38,7 +38,7 @@ std::string toString(FormatterBytecode::Selectors sel) {
case ID: \
return "@" #NAME;
#include "FormatterBytecode.def"
-#undef DEFINE_SIGNATURE
+#undef DEFINE_SELECTOR
}
return "@" + llvm::utostr(sel);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/174821
More information about the lldb-commits
mailing list