[PATCH] D121860: [scudo] Explicitly mark enum as unsigned

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 10:17:55 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe53641927918: [scudo] Explicitly mark enum as unsigned (authored by ddcc).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121860

Files:
  compiler-rt/lib/scudo/standalone/tsd_exclusive.h


Index: compiler-rt/lib/scudo/standalone/tsd_exclusive.h
===================================================================
--- compiler-rt/lib/scudo/standalone/tsd_exclusive.h
+++ compiler-rt/lib/scudo/standalone/tsd_exclusive.h
@@ -15,7 +15,7 @@
 
 struct ThreadState {
   bool DisableMemInit : 1;
-  enum {
+  enum : unsigned {
     NotInitialized = 0,
     Initialized,
     TornDown,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121860.416229.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/f2c947ff/attachment.bin>


More information about the llvm-commits mailing list