native
0.0.1
Vectors, masks and wide register packs for C++26
Main Page
Related Pages
Topics
Modules
Namespaces
Concepts
Classes
Files
File List
Loading...
Searching...
No Matches
attributes.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2024, 2026 Edward Kmett <ekmett@gmail.com>
2
// SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0
3
#pragma once
4
11
12
#if defined(NATIVE_USE_DECLSPEC) && !defined(HINT_USE_DECLSPEC)
13
#define HINT_USE_DECLSPEC
14
#endif
15
#include <hint.h>
16
17
#ifdef __cplusplus
18
#define native_has_attribute hint_has_attribute
19
#define native_diagnose_if hint_diagnose_if
20
#define native_has_declspec_attribute hint_has_declspec_attribute
21
#define native_empty_bases hint_empty_bases
22
#define native_const hint_const
23
#define native_pure hint_pure
24
#define native_lifetimebound hint_lifetimebound
25
#define native_noescape hint_noescape
26
#define native_inline hint_inline
27
#define native_flatten hint_flatten
28
#define native_artificial hint_artificial
29
#define native_noinline hint_noinline
30
#define native_optnone hint_optnone
31
#define native_weak hint_weak
32
#define native_internal_linkage hint_internal_linkage
33
#define native_preferred_name hint_preferred_name
34
#define native_visibility hint_visibility
35
#define native_exclude_from_explicit_instantiation hint_exclude_from_explicit_instantiation
36
#define native_hidden hint_hidden
37
#define native_constinit hint_constinit
38
#define native_uninitialized hint_uninitialized
39
#define native_reinitializes hint_reinitializes
40
#define native_target hint_target
41
#define native_target_clones hint_target_clones
42
#define native_hot hint_hot
43
#define native_cold hint_cold
44
#define native_consumable hint_consumable
45
#define native_callable_when hint_callable_when
46
#define native_param_typestate hint_param_typestate
47
#define native_return_typestate hint_return_typestate
48
#define native_moving hint_moving
49
#define native_set_typestate hint_set_typestate
50
#define native_test_typestate hint_test_typestate
51
#define native_no_thread_safety_analysis hint_no_thread_safety_analysis
52
#define native_lockable hint_lockable
53
#define native_scoped_lockable hint_scoped_lockable
54
#define native_guarded_var hint_guarded_var
55
#define native_pt_guarded_var hint_pt_guarded_var
56
#define native_guarded_by hint_guarded_by
57
#define native_pt_guarded_by hint_pt_guarded_by
58
#define native_acquired_before hint_acquired_before
59
#define native_acquired_after hint_acquired_after
60
#define native_exclusive_lock_function hint_exclusive_lock_function
61
#define native_shared_trylock_function hint_shared_trylock_function
62
#define native_unlock_function hint_unlock_function
63
#define native_lock_returned hint_lock_returned
64
#define native_locks_excluded hint_locks_excluded
65
#define native_exclusive_locks_required hint_exclusive_locks_required
66
#define native_shared_locks_required hint_shared_locks_required
67
#define native_acquire_handle hint_acquire_handle
68
#define native_release_handle hint_release_handle
69
#define native_use_handle hint_use_handle
70
#define native_align hint_align
71
#define native_assume_aligned hint_assume_aligned
72
#define native_align_value hint_align_value
73
#define native_malloc hint_malloc
74
#define native_alloc_align hint_alloc_align
75
#define native_alloc_size hint_alloc_size
76
#define native_null_terminated_string_arg hint_null_terminated_string_arg
77
#define native_callback hint_callback
78
#define native_noreturn hint_noreturn
79
#define native_returns_nonnull hint_returns_nonnull
80
#define native_nonnull hint_nonnull
81
#define native_Nonnull hint_Nonnull
82
#define native_Nullable hint_Nullable
83
#define native_Null_unspecified hint_Null_unspecified
84
#define native_host hint_host
85
#define native_device hint_device
86
#define native_global hint_global
87
#define native_hd hint_hd
88
#define native_nonblocking hint_nonblocking
89
#define native_blocking hint_blocking
90
#define native_nonallocating hint_nonallocating
91
#define native_allocating hint_allocating
92
#define native_noalloc hint_noalloc
93
#define native_noblock hint_noblock
94
#define native_constexpr hint_constexpr
95
#else
96
#define native_constexpr hint_constexpr
97
#define native_inline hint_inline
98
#define native_pure hint_pure
99
#define native_const hint_const
100
#define native_lifetimebound hint_lifetimebound
101
#define native_noescape hint_noescape
102
#define native_reinitializes hint_reinitializes
103
#define native_artificial hint_artificial
104
#define native_flatten hint_flatten
105
#endif
src
native
attributes.h
Generated by
1.18.0