Skip to content

Conversation

@s-perron
Copy link
Collaborator

This commit enables sizeof operator support for vk::BufferPointer types.
It updates SemaExpr to allow vk::BufferPointer in sizeof expressions,
and modifies ASTContext to correctly report the size and alignment of
vk::BufferPointer as equivalent to uint64_t.

Fixes #7998

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

This commit enables sizeof operator support for vk::BufferPointer types.
It updates SemaExpr to allow vk::BufferPointer in sizeof expressions,
and modifies ASTContext to correctly report the size and alignment of
vk::BufferPointer as equivalent to uint64_t.

Fixes microsoft#7998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

[SPIR-V] sizeof(vk::BufferPointer) is not supported

1 participant