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 fdf821e commit 48e429cCopy full SHA for 48e429c
absl/base/macros.h
@@ -197,9 +197,9 @@ ABSL_NAMESPACE_END
197
// While open-source users do not have access to this service, the macro is
198
// provided for compatibility, and so that users receive deprecation warnings.
199
#if ABSL_HAVE_CPP_ATTRIBUTE(deprecated) && \
200
- ABSL_HAVE_CPP_ATTRIBUTE(clang::annotate) && !defined(SWIG)
+ ABSL_HAVE_CPP_ATTRIBUTE(clang::annotate)
201
#define ABSL_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]]
202
-#elif ABSL_HAVE_CPP_ATTRIBUTE(deprecated) && !defined(SWIG)
+#elif ABSL_HAVE_CPP_ATTRIBUTE(deprecated)
203
#define ABSL_DEPRECATE_AND_INLINE() [[deprecated]]
204
#else
205
#define ABSL_DEPRECATE_AND_INLINE()
0 commit comments