[llvm] r253366 - Specify explicit storage type for AllocType. NFC.

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 11:48:06 PST 2015


Author: gbiv
Date: Tue Nov 17 13:48:06 2015
New Revision: 253366

URL: http://llvm.org/viewvc/llvm-project?rev=253366&view=rev
Log:
Specify explicit storage type for AllocType. NFC.


Modified:
    llvm/trunk/lib/Analysis/MemoryBuiltins.cpp

Modified: llvm/trunk/lib/Analysis/MemoryBuiltins.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryBuiltins.cpp?rev=253366&r1=253365&r2=253366&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryBuiltins.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryBuiltins.cpp Tue Nov 17 13:48:06 2015
@@ -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




More information about the llvm-commits mailing list