# Add DIFlagStaticMember flag to functions\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 6df8e4bca73309f2e340dbfa9031f1bb16a73bcc

Requested commit: 6df8e4bca73309f2e340dbfa9031f1bb16a73bcc

Commit: 6df8e4bca73309f2e340dbfa9031f1bb16a73bcc

Tree: ddb10f9b51b25cc05c2ae71a5deb526ab1f52579

Author: alexander

Committer: Andrew Kelley

## Message

```
Add DIFlagStaticMember flag to functions.

Prevents LLVM from generating debug info for
struct member functions with a pointer as the
first parameter as though the first parameter
were the implicit "this" pointer from C++.

```

## Parents

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

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