diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-23 12:49:21 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-23 12:49:21 -0500 |
| commit | 40dbcd09da27a271c5d1b0990e712bd2b2bfe68d (patch) | |
| tree | cb4560cf3a096ccaf150aee41c022fceb063540d /src/zig_llvm.cpp | |
| parent | 99985ad6fc0ff4ff09c0284c40023a9c826f8108 (diff) | |
| download | zig-40dbcd09da27a271c5d1b0990e712bd2b2bfe68d.tar.gz zig-40dbcd09da27a271c5d1b0990e712bd2b2bfe68d.zip | |
fix type_is_codegen_pointer being used incorrectly
The names of these functions should probably change, but at least
the semantics are correct now:
* type_is_codegen_pointer - the type is either a fn, ptr, or promise
* get_codegen_ptr_type -
- ?&T and &T returns &T
- ?promise and promise returns promise
- ?fn()void and fn()void returns fn()void
- otherwise returns nullptr
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
