[PATCH] D64407: [DWARF] Simplify constructing of DWARFAttribute. NFC.

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 08:39:53 PDT 2019


probinson added inline comments.


================
Comment at: include/llvm/DebugInfo/DWARF/DWARFAttribute.h:32
   /// The form and value for this attribute.
-  DWARFFormValue Value;
+  DWARFFormValue Value = dwarf::Form(0);
 
----------------
Form(0) is what the DWARFFormValue default ctor uses, you do not need to make this explicit here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64407/new/

https://reviews.llvm.org/D64407





More information about the llvm-commits mailing list