aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-11-25 16:19:17 +0000
committergingerBill <bill@gingerbill.org>2018-11-25 16:19:17 +0000
commite496b95881dffa3eda352cec6aa3249c6062d40a (patch)
treed959dec4d5e020469594bd4243ee6abad449f5f0 /src/entity.cpp
parent444f4f446a8272ca3a1ab763c92bc18375c4d947 (diff)
Subset and superset operators for `bit_set`: < <= > >=
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 22c7a24f4..707a04962 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -85,14 +85,14 @@ struct Entity {
Token token;
Scope * scope;
Type * type;
- Ast * identifier; // Can be nullptr
+ Ast * identifier; // Can be nullptr
DeclInfo * decl_info;
DeclInfo * parent_proc_decl; // nullptr if in file/global scope
AstPackage *pkg;
// TODO(bill): Cleanup how `using` works for entities
Entity * using_parent;
- Ast * using_expr;
+ Ast * using_expr;
isize order_in_src;
String deprecated_message;
@@ -109,7 +109,7 @@ struct Entity {
String thread_local_model;
Entity * foreign_library;
- Ast * foreign_library_ident;
+ Ast * foreign_library_ident;
String link_name;
String link_prefix;
bool is_foreign;
@@ -117,9 +117,9 @@ struct Entity {
bool is_immutable;
} Variable;
struct {
- bool is_type_alias;
Type * type_parameter_specialization;
String ir_mangled_name;
+ bool is_type_alias;
} TypeName;
struct {
u64 tags;