diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-10 13:45:27 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-10 13:45:27 +0100 |
| commit | 733b7c704c982070ed60f981b5562263026608b3 (patch) | |
| tree | 9f4a6a9431f6ea5331ac700edba7082c63a59dc8 /src/check_decl.cpp | |
| parent | c54e3d3c4f3d32761c17e3528714598717ecebbd (diff) | |
| parent | 34c6868e7836cc24cca1c8fed84bfc5af20e8843 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 84c3d9ecc..7d81d102d 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1030,7 +1030,6 @@ gb_internal void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) { switch (e->Procedure.optimization_mode) { case ProcedureOptimizationMode_None: - case ProcedureOptimizationMode_Minimal: if (pl->inlining == ProcInlining_inline) { error(e->token, "#force_inline cannot be used in conjunction with the attribute 'optimization_mode' with neither \"none\" nor \"minimal\""); } |