Hint 0.1.0
Loading...
Searching...
No Matches
Modules
Attributes

Modules

 Attribute Detection
 macros for determining supported attributes
 
 Purity
 
 Object Lifetimes
 
 Inlining Control
 attributes that control inlining behavior
 
 Linkage Control
 see Explicit Template Instantiation for more.
 
 Initialization
 
 Function Targets
 Compiler target features and function multiversioning.
 
 Calling Conventions
 alternative calling conventions
 
 Typestate Analysis
 Enabled in clang by passing -fsanitize=consumed
 
 Thread Safety
 these are supported by -Wthread-safety
 
 Handles
 Handles are a way to identify resources like files, sockets, and processes.
 
 Memory Alignment
 see also hint_alloc_align
 
 Memory Allocation
 
 String Safety
 
 Control Flow
 
 Null Safety
 
 CUDA
 
 Performance Constraints
 

Detailed Description

Named annotations for optimization, lifetimes, ownership and static analysis. Include this header in the global module fragment; macros are not exported by C++ module imports.