Add missing include file to StringExtrasTest.cpp

Use of std::isupper and std::islower need <cctype> header file. Fix
that and also fix the header of a file to match the file name.

PiperOrigin-RevId: 260816852
This commit is contained in:
Mahesh Ravishankar 2019-07-30 16:11:14 -07:00 committed by A. Unique TensorFlower
parent 206be96e63
commit 3867ed86eb
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@
#include "llvm/ADT/StringExtras.h"
#include <cctype>
namespace mlir {
/// Converts a string to snake-case from camel-case by replacing all uppercase
/// letters with '_' followed by the letter in lowercase, except if the

View File

@ -1,4 +1,4 @@
//===- StringExtras.cpp - Tests for utility methods in StringExtras.h -----===//
//===- StringExtrasTest.cpp - Tests for utility methods in StringExtras.h -===//
//
// Copyright 2019 The MLIR Authors.
//