Hint 0.1.0
Loading...
Searching...
No Matches
Macros
Control Flow

Macros

#define hint_callback(...)
 [[callback(...)]]
 
#define hint_noreturn
 gcc-style [[noreturn]]
 

Detailed Description

[[assume(x)]] also moraly belongs among these

Macro Definition Documentation

◆ hint_callback

#define hint_callback (   ...)

[[callback(...)]]

Indicates the specified argument will be called back with the other named arguments. Complicated, see clang docs. Allows better interprocedural analysis

◆ hint_noreturn

#define hint_noreturn

gcc-style [[noreturn]]

Indicates the method does not return to the caller.

A relevant testimonial by the Kingston Trio.