diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-12 22:58:07 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-12 22:58:07 +0000 |
commit | 878ba7cc5d87deb24aa8a21d7bd9b2ea7215976f (patch) | |
tree | a9546c2b7660bff2d309a39e4ab08ffecbc05e1f | |
parent | 8559594c3dfb2d33d68b0e522cc3617cfad3ea07 (diff) |
* Tabs to spaces
* Delete extra blank lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14779 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llc/llc.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index f845782946..ca7ad1663e 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -41,7 +41,6 @@ OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); static cl::opt<bool> Force("f", cl::desc("Overwrite output files")); - static cl::opt<const TargetMachineRegistry::Entry*, false, TargetNameParser> MArch("march", cl::desc("Architecture to generate assembly for:")); @@ -97,7 +96,6 @@ int main(int argc, char **argv) { // Build up all of the passes that we want to do to the module... PassManager Passes; - Passes.add(new TargetData("llc", TD.isLittleEndian(), TD.getPointerSize(), TD.getPointerAlignment(), TD.getDoubleAlignment())); @@ -107,11 +105,11 @@ int main(int argc, char **argv) { if (OutputFilename != "-") { // Specified an output filename? if (!Force && std::ifstream(OutputFilename.c_str())) { - // If force is not specified, make sure not to overwrite a file! - std::cerr << argv[0] << ": error opening '" << OutputFilename - << "': file exists!\n" - << "Use -f command line argument to force output\n"; - return 1; + // If force is not specified, make sure not to overwrite a file! + std::cerr << argv[0] << ": error opening '" << OutputFilename + << "': file exists!\n" + << "Use -f command line argument to force output\n"; + return 1; } Out = new std::ofstream(OutputFilename.c_str()); |