aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-11 18:14:02 +0000
committerDan Gohman <gohman@apple.com>2009-11-11 18:14:02 +0000
commit641c6f983eb4e40ab23732ab46ffa85bab7f0ba9 (patch)
tree3b3e27a6045795f9d48d8fb45a2ff66db73b7657
parentadaace8aa8df16f1fa2b097f32ded38a49d89208 (diff)
downloadexternal_llvm-641c6f983eb4e40ab23732ab46ffa85bab7f0ba9.tar.gz
external_llvm-641c6f983eb4e40ab23732ab46ffa85bab7f0ba9.tar.bz2
external_llvm-641c6f983eb4e40ab23732ab46ffa85bab7f0ba9.zip
Fix a copy+pasto in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86852 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/CFGPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/CFGPrinter.h b/include/llvm/Analysis/CFGPrinter.h
index bee2c5b0d3..440d18267d 100644
--- a/include/llvm/Analysis/CFGPrinter.h
+++ b/include/llvm/Analysis/CFGPrinter.h
@@ -72,7 +72,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
if (BI->isConditional())
return (I == succ_begin(Node)) ? "T" : "F";
- // Label source of conditional branches with "T" or "F"
+ // Label source of switch edges with the associated value.
if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
unsigned SuccNo = I.getSuccessorIndex();