diff options
author | 2018-05-14 16:26:33 -0700 | |
---|---|---|
committer | 2018-05-14 16:29:00 -0700 | |
commit | f94d60a177f91adf84d64d8d5c323d31d62a501d (patch) | |
tree | d48ec5cde51c09d94b54c25e7d3e07c9bec906ca /tensorflow/compiler/xla/tests/literal_test_util.cc | |
parent | 5334631d7650d2212926fae661c2d0f8b9e7b358 (diff) |
ClangTidy - Readability cleanup:/code-findings-fixes.
* unused using-declarations
* redundant string conversions
* C-style casts
* redundant get() call on smart pointer
* the 'empty' method should be used to check for emptiness instead of 'size'
PiperOrigin-RevId: 196585984
Diffstat (limited to 'tensorflow/compiler/xla/tests/literal_test_util.cc')
-rw-r--r-- | tensorflow/compiler/xla/tests/literal_test_util.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/tests/literal_test_util.cc b/tensorflow/compiler/xla/tests/literal_test_util.cc index c38a78d5db..20e55b6116 100644 --- a/tensorflow/compiler/xla/tests/literal_test_util.cc +++ b/tensorflow/compiler/xla/tests/literal_test_util.cc @@ -43,7 +43,6 @@ namespace xla { using ::tensorflow::strings::Appendf; using ::tensorflow::strings::Printf; using ::tensorflow::strings::StrAppend; -using ::tensorflow::strings::StrCat; /* static */ ::testing::AssertionResult LiteralTestUtil::EqualShapes( const Shape& expected, const Shape& actual) { |