Fix 80 columns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2012-06-01 00:58:41 +00:00
parent fc4199bf4a
commit cdd6b2dca1

View File

@ -34,7 +34,9 @@ namespace {
cl::init("-")); cl::init("-"));
cl::opt<std::string> cl::opt<std::string>
DependFilename("d", cl::desc("Dependency filename"), cl::value_desc("filename"), DependFilename("d",
cl::desc("Dependency filename"),
cl::value_desc("filename"),
cl::init("")); cl::init(""));
cl::opt<std::string> cl::opt<std::string>
@ -53,7 +55,8 @@ int TableGenMain(char *argv0, TableGenAction &Action) {
try { try {
// Parse the input file. // Parse the input file.
OwningPtr<MemoryBuffer> File; OwningPtr<MemoryBuffer> File;
if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), File)) { if (error_code ec =
MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), File)) {
errs() << "Could not open input file '" << InputFilename << "': " errs() << "Could not open input file '" << InputFilename << "': "
<< ec.message() <<"\n"; << ec.message() <<"\n";
return 1; return 1;
@ -93,7 +96,7 @@ int TableGenMain(char *argv0, TableGenAction &Action) {
DepOut.os() << OutputFilename << ":"; DepOut.os() << OutputFilename << ":";
const std::vector<std::string> &Dependencies = Parser.getDependencies(); const std::vector<std::string> &Dependencies = Parser.getDependencies();
for (std::vector<std::string>::const_iterator I = Dependencies.begin(), for (std::vector<std::string>::const_iterator I = Dependencies.begin(),
E = Dependencies.end(); E = Dependencies.end();
I != E; ++I) { I != E; ++I) {
DepOut.os() << " " << (*I); DepOut.os() << " " << (*I);
} }