diff options
| author | gingerBill <bill@gingerbill.org> | 2020-03-15 14:31:26 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-03-15 14:31:26 +0000 |
| commit | 18fb6a4be41f30de75b445266b958e153ecc16d9 (patch) | |
| tree | 6770795d754effc1751d8c7beb13652db39f3770 /src/entity.cpp | |
| parent | bf0c6f5a30e406a0e0f73014c024ba63dcb47b43 (diff) | |
| parent | 8dba0e332c73a08301c5ac6c0d310c483c66cb11 (diff) | |
Merge branch 'master' into llvm-integration
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 49bce00df..dbe4f926c 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -45,14 +45,15 @@ enum EntityFlag { EntityFlag_TypeField = 1<<9, EntityFlag_Value = 1<<10, EntityFlag_Sret = 1<<11, - EntityFlag_BitFieldValue = 1<<12, - EntityFlag_PolyConst = 1<<13, - EntityFlag_NotExported = 1<<14, - EntityFlag_ConstInput = 1<<15, + EntityFlag_ByVal = 1<<12, + EntityFlag_BitFieldValue = 1<<13, + EntityFlag_PolyConst = 1<<14, + EntityFlag_NotExported = 1<<15, + EntityFlag_ConstInput = 1<<16, - EntityFlag_Static = 1<<16, + EntityFlag_Static = 1<<17, - EntityFlag_ImplicitReference = 1<<17, // NOTE(bill): equivalent to `const &` in C++ + EntityFlag_ImplicitReference = 1<<18, // NOTE(bill): equivalent to `const &` in C++ EntityFlag_SoaPtrField = 1<<19, // to allow s.x[0] where `s.x` is a pointer rather than a slice |