summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFGPrinter.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 21:13:18 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 21:13:18 +0000
commit01808caded68f5b8939e5ebed01b2fecc94955f0 (patch)
treea5de79857a8dad40192bf1114cc1b4ce8b6e5b16 /llvm/lib/Analysis/CFGPrinter.cpp
parent13f332cd3fcc00c7867db24784a3018aada46835 (diff)
downloadbcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.tar.gz
bcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.zip
Remove trailing whitespace
llvm-svn: 21416
Diffstat (limited to 'llvm/lib/Analysis/CFGPrinter.cpp')
-rw-r--r--llvm/lib/Analysis/CFGPrinter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp
index c19bbad55c6..53b40ec5026 100644
--- a/llvm/lib/Analysis/CFGPrinter.cpp
+++ b/llvm/lib/Analysis/CFGPrinter.cpp
@@ -1,10 +1,10 @@
//===- CFGPrinter.cpp - DOT printer for the control flow graph ------------===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file defines a '-print-cfg' analysis pass, which emits the
@@ -92,7 +92,7 @@ namespace {
std::string Filename = "cfg." + F.getName() + ".dot";
std::cerr << "Writing '" << Filename << "'...";
std::ofstream File(Filename.c_str());
-
+
if (File.good())
WriteGraph(File, (const Function*)&F);
else
@@ -102,7 +102,7 @@ namespace {
}
void print(std::ostream &OS, const Module* = 0) const {}
-
+
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
}
@@ -120,7 +120,7 @@ namespace {
return false;
}
void print(std::ostream &OS, const Module* = 0) const {}
-
+
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
}
@@ -140,7 +140,7 @@ void Function::viewCFG() const {
std::string Filename = "/tmp/cfg." + getName() + ".dot";
std::cerr << "Writing '" << Filename << "'... ";
std::ofstream F(Filename.c_str());
-
+
if (!F.good()) {
std::cerr << " error opening file for writing!\n";
return;
OpenPOWER on IntegriCloud