From 721c201bd55ffb73cb2ba8d39e0570fa38c44e15 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 15 Aug 2012 19:34:23 +0000 Subject: Vendor import of llvm trunk r161861: http://llvm.org/svn/llvm-project/llvm/trunk@161861 --- lib/TableGen/Main.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/TableGen/Main.cpp') diff --git a/lib/TableGen/Main.cpp b/lib/TableGen/Main.cpp index 01bc55e..7aeef56 100644 --- a/lib/TableGen/Main.cpp +++ b/lib/TableGen/Main.cpp @@ -34,7 +34,9 @@ namespace { cl::init("-")); cl::opt - DependFilename("d", cl::desc("Dependency filename"), cl::value_desc("filename"), + DependFilename("d", + cl::desc("Dependency filename"), + cl::value_desc("filename"), cl::init("")); cl::opt @@ -53,7 +55,8 @@ int TableGenMain(char *argv0, TableGenAction &Action) { try { // Parse the input file. OwningPtr 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 << "': " << ec.message() <<"\n"; return 1; @@ -93,7 +96,7 @@ int TableGenMain(char *argv0, TableGenAction &Action) { DepOut.os() << OutputFilename << ":"; const std::vector &Dependencies = Parser.getDependencies(); for (std::vector::const_iterator I = Dependencies.begin(), - E = Dependencies.end(); + E = Dependencies.end(); I != E; ++I) { DepOut.os() << " " << (*I); } -- cgit v1.1