|
Hint 0.1.0
|
Macros | |
| #define | hint_constinit |
constinit | |
| #define | hint_uninitialized |
[[clang::uninitialized]] | |
| #define | hint_reinitializes |
[[clang::reinitializes]] | |
| #define hint_constinit |
constinit
constinit requires C++20, but __attribute__((require_constant_initialization)) was available slightly earlier.
| #define hint_reinitializes |
[[clang::reinitializes]]
Indicates to any uninitialised object state sanitizer that this restores an object to a fresh state independent of its previous state.
| #define hint_uninitialized |
[[clang::uninitialized]]
ensures a stack variable remains uninitialized regardless of -ftrivial-auto-var-init=* settings passed to the compiler