mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 02:29:22 +00:00
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:
parent
fc4199bf4a
commit
cdd6b2dca1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user