From cba0bd30f548c6a757a3ed5fb994380a4a10aa2e Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 23 Aug 2021 11:50:02 +0100 Subject: Add suggestions when trying to take the address the a value from a `for`/`switch` statement --- src/entity.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index 02b5f4a75..8343ba557 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -69,6 +69,9 @@ enum EntityFlag : u64 { EntityFlag_Lazy = 1ull<<27, // Lazily type checked + EntityFlag_ForValue = 1ull<<28, + EntityFlag_SwitchValue = 1ull<<29, + EntityFlag_Test = 1ull<<30, EntityFlag_Overridden = 1ull<<63, -- cgit v1.2.3