Temporarily disable LLVM 17. Generic module contracts enabled.

This commit is contained in:
Christoffer Lerno
2023-03-14 23:25:52 +01:00
parent 3237f87a09
commit 3cb94a2857
13 changed files with 210 additions and 110 deletions

View File

@@ -1418,7 +1418,7 @@ typedef struct
typedef struct AstDocDirective_
{
SourceSpan span;
DocDirectiveKind kind : 4;
ContractKind kind : 4;
union
{
struct
@@ -1441,7 +1441,7 @@ typedef struct AstDocDirective_
const char *rest_of_line;
} generic;
};
} AstDocStmt;
} AstContractStmt;
typedef struct Ast_
{
@@ -1472,7 +1472,7 @@ typedef struct Ast_
AstId ct_else_stmt; // 4
AstCtForeachStmt ct_foreach_stmt; // 40
AstAssertStmt assert_stmt; // 16
AstDocStmt doc_stmt;
AstContractStmt contract;
};
} Ast;
@@ -1493,7 +1493,7 @@ typedef struct Module_
bool no_extprefix : 1;
AnalysisStage stage : 6;
AstId docs;
AstId contracts;
Decl** private_method_extensions;
HTable symbols;
struct CompilationUnit_ **units;