mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
Move alignas to before name
This commit is contained in:
@@ -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)];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user