[XLA] Roll forward fix to use TF macro.
authorChris Leary <leary@google.com>
Fri, 11 May 2018 04:15:35 +0000 (21:15 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 11 May 2018 04:18:22 +0000 (21:18 -0700)
PiperOrigin-RevId: 196213299

tensorflow/compiler/xla/tests/literal_test_util.h

index c9cb851..391abb1 100644 (file)
@@ -58,12 +58,12 @@ class LiteralTestUtil {
   // Asserts that the given shapes have the same rank, dimension sizes, and
   // primitive types.
   static ::testing::AssertionResult EqualShapes(
-      const Shape& expected, const Shape& actual) MUST_USE_RESULT;
+      const Shape& expected, const Shape& actual) TF_MUST_USE_RESULT;
 
   // Asserts that the provided shapes are equal as defined in AssertEqualShapes
   // and that they have the same layout.
   static ::testing::AssertionResult EqualShapesAndLayouts(
-      const Shape& expected, const Shape& actual) MUST_USE_RESULT;
+      const Shape& expected, const Shape& actual) TF_MUST_USE_RESULT;
 
   static ::testing::AssertionResult Equal(const LiteralSlice& expected,
                                           const LiteralSlice& actual)