Skip to content

Commit 48e429c

Browse files
Abseil Teamcopybara-github
authored andcommitted
Revert- Doesn't actually work because SWIG doesn't use the full preprocessor
PiperOrigin-RevId: 758810429 Change-Id: Ic75609eacf736712851605d346b4c6ba1dc6cc1b
1 parent fdf821e commit 48e429c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

absl/base/macros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ ABSL_NAMESPACE_END
197197
// While open-source users do not have access to this service, the macro is
198198
// provided for compatibility, and so that users receive deprecation warnings.
199199
#if ABSL_HAVE_CPP_ATTRIBUTE(deprecated) && \
200-
ABSL_HAVE_CPP_ATTRIBUTE(clang::annotate) && !defined(SWIG)
200+
ABSL_HAVE_CPP_ATTRIBUTE(clang::annotate)
201201
#define ABSL_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]]
202-
#elif ABSL_HAVE_CPP_ATTRIBUTE(deprecated) && !defined(SWIG)
202+
#elif ABSL_HAVE_CPP_ATTRIBUTE(deprecated)
203203
#define ABSL_DEPRECATE_AND_INLINE() [[deprecated]]
204204
#else
205205
#define ABSL_DEPRECATE_AND_INLINE()

0 commit comments

Comments
 (0)