OSDN Git Service

Specify explicit storage type for AllocType. NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 17 Nov 2015 19:48:06 +0000 (19:48 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 17 Nov 2015 19:48:06 +0000 (19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253366 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/MemoryBuiltins.cpp

index 1a192fa..b4dce49 100644 (file)
@@ -31,7 +31,7 @@ using namespace llvm;
 
 #define DEBUG_TYPE "memory-builtins"
 
-enum AllocType {
+enum AllocType : uint8_t {
   OpNewLike          = 1<<0, // allocates; never returns null
   MallocLike         = 1<<1 | OpNewLike, // allocates; may return null
   CallocLike         = 1<<2, // allocates + bzero