diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-05-07 12:42:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-07 12:42:26 -0400 |
| commit | ba43492c0e4b37924caf5956b4dbaf832b964b81 (patch) | |
| tree | 37af3289400d9536f170c8bf439de7e2eaedbc4b /src/analyze.cpp | |
| parent | 20c1696865fc859e4f02a1f7a3e2e4bf4177a2d8 (diff) | |
| parent | 84a0a9688caea0f7cfe19bac07d5b5d46a06d470 (diff) | |
| download | zig-ba43492c0e4b37924caf5956b4dbaf832b964b81.tar.gz zig-ba43492c0e4b37924caf5956b4dbaf832b964b81.zip | |
Merge pull request #5268 from tadeokondrak/remove-callconv-redundant-syntax
Remove syntax redundant with callconv
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 4c3103c48c..39f797a9ec 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1528,8 +1528,6 @@ ZigType *get_generic_fn_type(CodeGen *g, FnTypeId *fn_type_id) { } CallingConvention cc_from_fn_proto(AstNodeFnProto *fn_proto) { - if (fn_proto->is_async) - return CallingConventionAsync; // Compatible with the C ABI if (fn_proto->is_extern || fn_proto->is_export) return CallingConventionC; |
