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 89d1f14 commit 23391dfCopy full SHA for 23391df
clang/include/indexstore/indexstore.h
@@ -98,9 +98,13 @@
98
99
#define INDEXSTORE_OPTIONS_ATTRS INDEXSTORE_OPEN_ENUM_ATTR INDEXSTORE_FLAG_ENUM_ATTR
100
101
+#if defined(__has_extension)
102
#if __has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum)
103
# define INDEXSTORE_OPTIONS(_type, _name) enum INDEXSTORE_OPTIONS_ATTRS _name : _type _name; enum INDEXSTORE_OPTIONS_ATTRS _name : _type
-#else
104
+#endif
105
106
+
107
+#ifndef INDEXSTORE_OPTIONS
108
# define INDEXSTORE_OPTIONS(_type, _name) _type _name; enum INDEXSTORE_OPTIONS_ATTRS
109
#endif
110
0 commit comments