MSVC handles enums differently from structs and classes: a forward
declaration is not emitted unconditionally. MSVC does not emit an S_UDT
record for the enum.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | ||
---|---|---|
1095 | Can you explain why we are lowering "Record Field List" instead of "Enumeration Field List"? I suggest to create a new function called lowerEnumerationFieldList(). |
Can you explain why we are lowering "Record Field List" instead of "Enumeration Field List"?
There is nothing in common between enum and class, is there?
I suggest to create a new function called lowerEnumerationFieldList().