[compiler-rt] e536419 - [scudo] Explicitly mark enum as unsigned
Dominic Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 10:17:51 PDT 2022
Author: Dominic Chen
Date: 2022-03-17T10:17:36-07:00
New Revision: e53641927918e1ac0281b6e57a1b2d8e3ad98bb5
URL: https://github.com/llvm/llvm-project/commit/e53641927918e1ac0281b6e57a1b2d8e3ad98bb5
DIFF: https://github.com/llvm/llvm-project/commit/e53641927918e1ac0281b6e57a1b2d8e3ad98bb5.diff
LOG: [scudo] Explicitly mark enum as unsigned
Differential Revision: https://reviews.llvm.org/D121860
Added:
Modified:
compiler-rt/lib/scudo/standalone/tsd_exclusive.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/tsd_exclusive.h b/compiler-rt/lib/scudo/standalone/tsd_exclusive.h
index bba0c277c6a70..cf607d82d53e2 100644
--- a/compiler-rt/lib/scudo/standalone/tsd_exclusive.h
+++ b/compiler-rt/lib/scudo/standalone/tsd_exclusive.h
@@ -15,7 +15,7 @@ namespace scudo {
struct ThreadState {
bool DisableMemInit : 1;
- enum {
+ enum : unsigned {
NotInitialized = 0,
Initialized,
TornDown,
More information about the llvm-commits
mailing list