summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qwizard_win.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <[email protected]>2025-08-19 15:40:30 +0200
committerMårten Nordheim <[email protected]>2025-08-21 21:34:13 +0200
commit7181d440bcf45ef0d36a5214c0d5f74e988e31a7 (patch)
tree495e2d57b8ac843afdf0c3362b26d644843c3f99 /src/widgets/dialogs/qwizard_win.cpp
parentd9cb0ed9c5ca93cab9d3862e6cfd037738ca2f68 (diff)
QArrayData: Add MSVC attributes to MALLOCLIKEHEADdev
__declspec(allocator) marks a function as something that allocates memory, like malloc and new. This doesn't change optimizations in any way, it is just for event tracking and the debugger. __declspec(restrict) is used to indicate that any memory pointed to by a pointer returned by the function is not aliased by any other pointer. This is useful for the compiler to optimize memory access, namely it can reorder stores and loads without having to take into account that the memory might be accessed through another pointer. Change-Id: Ic1320f3a4c17a12c9ac2c45eeb9ed70822380e6e Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/widgets/dialogs/qwizard_win.cpp')
0 files changed, 0 insertions, 0 deletions