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.
2 parents 9afe41b + 89330bd commit ccf9028Copy full SHA for ccf9028
tools/SourceKit/tools/sourcekitd/include/sourcekitd/sourcekitd.h
@@ -70,7 +70,7 @@
70
# define SOURCEKITD_HAS_BLOCKS 0
71
#endif
72
73
-#ifdef __GNUC__
+#if defined(__clang__) || defined(__GNUC__)
74
# define SOURCEKITD_WARN_RESULT __attribute__((__warn_unused_result__))
75
# define SOURCEKITD_NONNULL1 __attribute__((__nonnull__(1)))
76
# define SOURCEKITD_NONNULL2 __attribute__((__nonnull__(2)))
0 commit comments