mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-06 01:27:08 +00:00
Specify explicit storage type for AllocType. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
741a772213
commit
d448978b61
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user