We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4848e71 commit 79bff8eCopy full SHA for 79bff8e
src/attributes.h
@@ -6,19 +6,6 @@
6
#ifndef BITCOIN_ATTRIBUTES_H
7
#define BITCOIN_ATTRIBUTES_H
8
9
-#if defined(__has_cpp_attribute)
10
-# if __has_cpp_attribute(nodiscard)
11
-# define NODISCARD [[nodiscard]]
12
-# endif
13
-#endif
14
-#ifndef NODISCARD
15
-# if defined(_MSC_VER) && _MSC_VER >= 1700
16
-# define NODISCARD _Check_return_
17
-# else
18
-# define NODISCARD __attribute__((warn_unused_result))
19
20
21
-
22
#if defined(__clang__)
23
# if __has_attribute(lifetimebound)
24
# define LIFETIMEBOUND [[clang::lifetimebound]]
0 commit comments