Skip to content

Commit b026317

Browse files
authored
[lldb] Match #undef to preceding #define (NFC) (llvm#174821)
1 parent b646f3b commit b026317

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lldb/source/DataFormatters/FormatterBytecode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ std::string toString(FormatterBytecode::OpCodes op) {
2727
return s ? s : #NAME; \
2828
}
2929
#include "FormatterBytecode.def"
30-
#undef DEFINE_SIGNATURE
30+
#undef DEFINE_OPCODE
3131
}
3232
return llvm::utostr(op);
3333
}
@@ -38,7 +38,7 @@ std::string toString(FormatterBytecode::Selectors sel) {
3838
case ID: \
3939
return "@" #NAME;
4040
#include "FormatterBytecode.def"
41-
#undef DEFINE_SIGNATURE
41+
#undef DEFINE_SELECTOR
4242
}
4343
return "@" + llvm::utostr(sel);
4444
}

0 commit comments

Comments
 (0)