# zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 79a620d617aaadbdf39a2536f3ac85ef1f6fb53e

Requested commit: 79a620d617aaadbdf39a2536f3ac85ef1f6fb53e

Commit: 79a620d617aaadbdf39a2536f3ac85ef1f6fb53e

Tree: 476f22613d3197645cabd7f70b2cf1b96bdb91c8

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue.

Also add a static_assert to catch future alignment mismatches on this type, and
reflect recent layout changes in the Zig bindings.

```

## Parents

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

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