diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-12-03 17:30:44 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-12-03 17:30:44 -0700 |
| commit | 5144c4fa37c3c433d814c9c3b2182fa224ea6826 (patch) | |
| tree | 2ffe680c4ca0578ce7c72a54e949167700bf4dff /src/parseh.cpp | |
| parent | a398afa7cc50aea4a0a55aeaa369914447f20e3d (diff) | |
| download | zig-5144c4fa37c3c433d814c9c3b2182fa224ea6826.tar.gz zig-5144c4fa37c3c433d814c9c3b2182fa224ea6826.zip | |
exporting .h file supports void
Diffstat (limited to 'src/parseh.cpp')
| -rw-r--r-- | src/parseh.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/parseh.cpp b/src/parseh.cpp index b5473c7093..cca108a5c5 100644 --- a/src/parseh.cpp +++ b/src/parseh.cpp @@ -290,11 +290,6 @@ static enum CXChildVisitResult fn_visitor(CXCursor cursor, CXCursor parent, CXCl buf_init_from_str(&p->cur_fn->name, clang_getCString(name)); - if (buf_eql_str(&p->cur_fn->name, "exit")) { - print_location(p); - zig_panic("Found it"); - } - p->cur_fn->arg_count = clang_getNumArgTypes(fn_type); p->cur_fn->args = allocate<Arg>(p->cur_fn->arg_count); |
