summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-17 19:48:06 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-11-17 19:48:06 +0000
commit2ae15e06093b776d8d0ca1f24bb3790005bf21eb (patch)
tree4053bf2ea15202cb42fa5bdc38e10c0d3f72af75 /llvm/lib/Analysis/MemoryBuiltins.cpp
parentbe2e5fac68ee5c548265e8cf9da2b73d47f2964c (diff)
downloadbcm5719-llvm-2ae15e06093b776d8d0ca1f24bb3790005bf21eb.tar.gz
bcm5719-llvm-2ae15e06093b776d8d0ca1f24bb3790005bf21eb.zip
Specify explicit storage type for AllocType. NFC.
llvm-svn: 253366
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
-rw-r--r--llvm/lib/Analysis/MemoryBuiltins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryBuiltins.cpp b/llvm/lib/Analysis/MemoryBuiltins.cpp
index 1a192fa0d76..b4dce494153 100644
--- a/llvm/lib/Analysis/MemoryBuiltins.cpp
+++ b/llvm/lib/Analysis/MemoryBuiltins.cpp
@@ -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
OpenPOWER on IntegriCloud