Skip to content

Commit b4a38ec

Browse files
d0kcopybara-github
authored andcommitted
Remove workarounds for missing ABSL_DEPRECATE_AND_INLINE
TF OSS absl is now new enough to provide it unconditionally. PiperOrigin-RevId: 783297380
1 parent e08ec02 commit b4a38ec

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

tsl/platform/notification.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ limitations under the License.
2525
#include "absl/synchronization/notification.h"
2626
#include "absl/time/time.h"
2727

28-
// TODO: b/330223377 - This macro should eventually be provided by Abseil.
29-
#ifndef ABSL_DEPRECATE_AND_INLINE
30-
#define ABSL_DEPRECATE_AND_INLINE()
31-
#endif
32-
3328
namespace tsl {
3429

3530
using Notification ABSL_DEPRECATE_AND_INLINE() = absl::Notification;

tsl/platform/str_util.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ limitations under the License.
3131
#include "xla/tsl/platform/types.h"
3232
#include "tsl/platform/stringpiece.h"
3333

34-
// TODO: b/323943471 - This macro should eventually be provided by Abseil.
35-
#ifndef ABSL_DEPRECATE_AND_INLINE
36-
#define ABSL_DEPRECATE_AND_INLINE()
37-
#endif
38-
3934
// Basic string utility routines
4035
namespace tsl {
4136
namespace str_util {

tsl/platform/stringpiece.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ limitations under the License.
2929
#include "absl/base/macros.h"
3030
#include "absl/strings/string_view.h" // IWYU pragma: export
3131

32-
// TODO: b/323943471 - This macro should eventually be provided by Abseil.
33-
#ifndef ABSL_DEPRECATE_AND_INLINE
34-
#define ABSL_DEPRECATE_AND_INLINE()
35-
#endif
36-
3732
namespace tsl {
3833

3934
using StringPiece ABSL_DEPRECATE_AND_INLINE() = absl::string_view;

0 commit comments

Comments
 (0)