[PATCH] D40518: [CodeView] Re-write TypeSerializer and TypeTableBuilder

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 14:58:51 PST 2017


zturner added inline comments.


================
Comment at: llvm/lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp:8
+struct ContinuationRecord {
+  ulittle16_t Kind{uint16_t(TypeLeafKind::LF_INDEX)};
+  ulittle16_t Size{0};
----------------
rnk wrote:
> I hate unicorn initialization =P
If you mean the `{}` syntax, it's actually necessary in this case since it requires an implicit conversion.  I couldn't get it to work with an = syntax.


https://reviews.llvm.org/D40518





More information about the llvm-commits mailing list