Author: Dave Lee Date: 2026-01-07T13:50:27-08:00 New Revision: b026317b59d26b6150bc331e3f11bda522482ca8
URL: https://github.com/llvm/llvm-project/commit/b026317b59d26b6150bc331e3f11bda522482ca8 DIFF: https://github.com/llvm/llvm-project/commit/b026317b59d26b6150bc331e3f11bda522482ca8.diff LOG: [lldb] Match #undef to preceding #define (NFC) (#174821) Added: Modified: lldb/source/DataFormatters/FormatterBytecode.cpp Removed: ################################################################################ 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); } _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
