summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-11-12 18:06:06 +0000
committerAndrew Trick <atrick@apple.com>2013-11-12 18:06:06 +0000
commit4be0c592c42739b1927aaf2a20b3fabbf6adf335 (patch)
treef5d66dd56984e81518c327fc44fa33f3adcbb7aa /include
parentc47adf8db2cbe21f5de0a955b8ef89f177c9ad16 (diff)
downloadllvm-4be0c592c42739b1927aaf2a20b3fabbf6adf335.tar.gz
llvm-4be0c592c42739b1927aaf2a20b3fabbf6adf335.tar.bz2
llvm-4be0c592c42739b1927aaf2a20b3fabbf6adf335.tar.xz
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/CFGPrinter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/CFGPrinter.h b/include/llvm/Analysis/CFGPrinter.h
index fa596c3a3c..6977374088 100644
--- a/include/llvm/Analysis/CFGPrinter.h
+++ b/include/llvm/Analysis/CFGPrinter.h
@@ -44,7 +44,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
return OS.str();
}
- static std::string getCompleteNodeLabel(const BasicBlock *Node,
+ static std::string getCompleteNodeLabel(const BasicBlock *Node,
const Function *) {
std::string Str;
raw_string_ostream OS(Str);
@@ -86,20 +86,20 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
if (BI->isConditional())
return (I == succ_begin(Node)) ? "T" : "F";
-
+
// Label source of switch edges with the associated value.
if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
unsigned SuccNo = I.getSuccessorIndex();
if (SuccNo == 0) return "def";
-
+
std::string Str;
raw_string_ostream OS(Str);
SwitchInst::ConstCaseIt Case =
- SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
+ SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
OS << Case.getCaseValue()->getValue();
return OS.str();
- }
+ }
return "";
}
};