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

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 06:04:00 PDT 2024


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

OK, see a similar discussion https://reviews.llvm.org/D61046 before too.

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


More information about the llvm-commits mailing list