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

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 10:23:27 PDT 2016


echristo added inline comments.

================
Comment at: include/llvm/IR/DebugInfoMetadata.h:49
@@ +48,3 @@
+/// Type capable of holding all DI flags values
+typedef uint32_t di_flags_t;
+
----------------
majnemer wrote:
> 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?
+1


https://reviews.llvm.org/D23766





More information about the llvm-commits mailing list