diff options
| author | gingerBill <bill@gingerbill.org> | 2021-02-23 13:10:23 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-02-23 13:10:23 +0000 |
| commit | 28ed310f317d48835f089b6a6102259696b0f84c (patch) | |
| tree | 80ce57ddd4d997d75458c108ce858fac24f10349 /src/check_decl.cpp | |
| parent | a652c24ac3c8e592d413b3d3123e750fcaf314db (diff) | |
Remove `"pure"` and `"pure_none"` calling conventions
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index aed830530..c41090ecc 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1180,9 +1180,6 @@ void check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *decl, Type *ty case ProcCC_None: error(body, "Procedures with the calling convention \"none\" are not allowed a body"); break; - case ProcCC_PureNone: - error(body, "Procedures with the calling convention \"pure_none\" are not allowed a body"); - break; } } |