aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-02-02 11:05:30 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-02-02 11:05:30 +0000
commitad2122a7fc867edcb8af6e4b3d01fb06a0c8a055 (patch)
tree3ea0af5471de11ae0c00604900c7a6d9840db8da /src/checker.cpp
parentc7f40b8b8fb129acf369cca7dd472626e983d1b4 (diff)
Move `alignas` to before name
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 34fa91384..9568b8cfa 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -1792,7 +1792,7 @@ gb_internal void add_untyped(CheckerContext *c, Ast *expr, AddressingMode mode,
check_set_expr_info(c, expr, mode, type, value);
}
-struct TypeAndValueMutexStripes alignas(GB_CACHE_LINE_SIZE) {
+struct alignas(GB_CACHE_LINE_SIZE) TypeAndValueMutexStripes {
BlockingMutex mutex;
u8 padding[GB_CACHE_LINE_SIZE - gb_size_of(BlockingMutex)];
};