projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Specify explicit storage type for AllocType. NFC.
[oota-llvm.git]
/
lib
/
Analysis
/
MemoryBuiltins.cpp
diff --git
a/lib/Analysis/MemoryBuiltins.cpp
b/lib/Analysis/MemoryBuiltins.cpp
index 1a192fa0d761249cf1728e4d24f3d8a4fa369a5e..b4dce4941538127a5134291ac0d88d8894515460 100644
(file)
--- a/
lib/Analysis/MemoryBuiltins.cpp
+++ b/
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