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 66713a0 commit a1c0ba1Copy full SHA for a1c0ba1
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/main.cpp
@@ -3,7 +3,7 @@
3
4
#if REVISION == 0
5
// Pre-a3942b3 layout.
6
-#define HAS_REMOVE_CV
+#define NO_REMOVE_CV
7
#endif
8
// REVISION == 1: current layout
9
@@ -20,10 +20,10 @@ struct __optional_destruct_base {
20
typedef _Tp value_type;
21
union {
22
char __null_state_;
23
-#ifdef HAS_REMOVE_CV
24
- remove_cv_t<value_type> __val_;
25
-#else // !HAS_REMOVE_CV
+#ifdef NO_REMOVE_CV
26
value_type __val_;
+#else // !NO_REMOVE_CV
+ remove_cv_t<value_type> __val_;
27
28
};
29
bool __engaged_;
0 commit comments