# stage2: C backend improvements · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d18b6785bb394955eb092c82818e0214e456aced)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d18b6785bb394955eb092c82818e0214e456aced

Requested commit: d18b6785bb394955eb092c82818e0214e456aced

Commit: d18b6785bb394955eb092c82818e0214e456aced

Tree: 8ff1a615bc30e0bbc707a2934cca8a969ec4a314

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: C backend improvements

 * Module: improve doc comments
 * C backend: improve const-correctness
 * C backend: introduce renderTypeAndName
 * C backend: put `static` on functions when appropriate
 * C backend: fix not handling errors in genBinOp
 * C backend: handle more IR instructions
   - alloc, store, boolean comparisons, ret_ptr
 * C backend: call instruction properly stores its result
 * test harness: ensure execution tests have empty stderr

```

## Parents

- [bbe2cca1ae32af322abcf4cc4a6d6bee671bf5b8](https://git.cafe/gitcafe/zig/commit/bbe2cca1ae32af322abcf4cc4a6d6bee671bf5b8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d18b6785bb394955eb092c82818e0214e456aced?format=markdown)
