[PATCH] D23766: DebugInfo: introduce di_flags_t type for debug info flags

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 08:55:10 PDT 2016


majnemer added a subscriber: majnemer.

================
Comment at: include/llvm/IR/DebugInfoMetadata.h:49
@@ +48,3 @@
+/// Type capable of holding all DI flags values
+typedef uint32_t di_flags_t;
+
----------------
Could we just declare `enum DIFlags : uint32_t` in DIBuilder.h and use that in the DIBuilder interface instead of introducing a new type name?


https://reviews.llvm.org/D23766





More information about the llvm-commits mailing list