[llvm] [NFC] Add SHF_NONE to fix Werror=extra warning (PR #112808)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 22:02:27 PDT 2024


================
@@ -1180,6 +1180,9 @@ enum : unsigned {
 
 // Section flags.
 enum : unsigned {
+  // No flag
+  SHF_NONE = 0x0,
----------------
arsenm wrote:

Does the standard define this value? Maybe should avoid introducing names that aren't used in it 

https://github.com/llvm/llvm-project/pull/112808


More information about the llvm-commits mailing list