[PATCH] D83672: [yaml2obj] - Refine handling of the NoHeaders key.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 08:49:23 PDT 2020


MaskRay added inline comments.


================
Comment at: llvm/include/llvm/ObjectYAML/ELFYAML.h:97
   Optional<std::vector<SectionHeader>> Excluded;
-  bool NoHeaders;
+  Optional<bool> NoHeaders;
 };
----------------
Does `bool NoHeaders = false;` work? If absence is equal to false.


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

https://reviews.llvm.org/D83672





More information about the llvm-commits mailing list