From 28ed310f317d48835f089b6a6102259696b0f84c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 23 Feb 2021 13:10:23 +0000 Subject: Remove `"pure"` and `"pure_none"` calling conventions --- src/check_decl.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/check_decl.cpp') 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; } } -- cgit v1.2.3