[llvm] [llvm-rc] add support for MENUEX (PR #67464)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 04:07:43 PDT 2023


================
@@ -102,19 +102,36 @@ raw_ostream &MenuSeparator::log(raw_ostream &OS) const {
   return OS << "  Menu separator\n";
 }
 
+raw_ostream &MenuExItem::log(raw_ostream &OS) const {
+  OS << "  MenuExItem (" << Name << "), ID = " << Id;
+  return OS << "\n";
+}
+
 raw_ostream &PopupItem::log(raw_ostream &OS) const {
   OS << "  Popup (" << Name << ")";
   logFlags(OS, Flags);
   OS << ":\n";
   return SubItems.log(OS);
 }
 
+raw_ostream &PopupExItem::log(raw_ostream &OS) const {
+  OS << "  Popup (" << Name << ")";
+  OS << ":\n";
----------------
mstorsjo wrote:

Same thing here - should we log flags?

https://github.com/llvm/llvm-project/pull/67464


More information about the llvm-commits mailing list