Add more objc attributes

This commit is contained in:
gingerBill
2022-02-11 22:54:51 +00:00
parent 416413bebf
commit f8afda3b22
24 changed files with 588 additions and 142 deletions
+5 -1
View File
@@ -107,7 +107,6 @@ struct AttributeContext {
String thread_local_model;
String deprecated_message;
String warning_message;
String objc_class;
DeferredProcedure deferred_procedure;
bool is_export : 1;
bool is_static : 1;
@@ -119,6 +118,11 @@ struct AttributeContext {
bool init : 1;
bool set_cold : 1;
u32 optimization_mode; // ProcedureOptimizationMode
String objc_class;
String objc_name;
String objc_class_name;
Type * objc_type;
};
AttributeContext make_attribute_context(String link_prefix) {