[PATCH] D121860: [scudo] Explicitly mark enum as unsigned
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 14:16:08 PDT 2022
ddcc created this revision.
ddcc added reviewers: vitalybuka, eugenis, cryptoad, mcgrathr, hctim.
Herald added a project: All.
ddcc requested review of this revision.
Herald added a project: Sanitizers.
Repository:
rG LLVM Github Monorepo
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.415985.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/6ddc18ce/attachment.bin>
More information about the llvm-commits
mailing list