message: Add a clang-specific warning -Wmismatched-tags.
diff: @@ -51,6 +51,12 @@ limitations under the License.
  #include "absl/strings/string_view.h"
  // clang-format on
  +#pragma clang diagnostic push
  +
  +// Make sure that Eigen::half forward declaration in dnn.h matches the
  +// declaration in Eigen.
  +#pragma clang diagnostic warning "-Wmismatched-tags"
  +
  namespace stream_executor {
  namespace cuda {
  @@ -4531,5 +4537,7 @@ void initialize_cudnn() {
  } // namespace stream_executor
  +#pragma clang diagnostic pop
  +
  REGISTER_MODULE_INITIALIZER(register_cudnn,
  { stream_executor::initialize_cudnn(); });
  