summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2019-06-03 19:56:22 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2019-06-03 19:56:22 +0000
commitc24a2f4ad921c1d81563ca20dd43d2395303385f (patch)
treea77a1222f739c4af5af6d9b40b72fd2de3160c60 /llvm/lib/Analysis
parent7a4eabef3926f65a393433967b6cf50b3954b05e (diff)
downloadbcm5719-llvm-c24a2f4ad921c1d81563ca20dd43d2395303385f.tar.gz
bcm5719-llvm-c24a2f4ad921c1d81563ca20dd43d2395303385f.zip
CFLAA: reflow comments; NFC
llvm-svn: 362442
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/CFLGraph.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/CFLGraph.h b/llvm/lib/Analysis/CFLGraph.h
index a81ff5b15c6..cd7c2df8041 100644
--- a/llvm/lib/Analysis/CFLGraph.h
+++ b/llvm/lib/Analysis/CFLGraph.h
@@ -152,7 +152,7 @@ public:
}
};
-///A builder class used to create CFLGraph instance from a given function
+/// A builder class used to create CFLGraph instance from a given function
/// The CFL-AA that uses this builder must provide its own type as a template
/// argument. This is necessary for interprocedural processing: CFLGraphBuilder
/// needs a way of obtaining the summary of other functions when callinsts are
@@ -181,8 +181,7 @@ template <typename CFLAA> class CFLGraphBuilder {
static bool hasUsefulEdges(ConstantExpr *CE) {
// ConstantExpr doesn't have terminators, invokes, or fences, so only
- // needs
- // to check for compares.
+ // needs to check for compares.
return CE->getOpcode() != Instruction::ICmp &&
CE->getOpcode() != Instruction::FCmp;
}
@@ -197,8 +196,8 @@ template <typename CFLAA> class CFLGraphBuilder {
}
// TODO: If the call is indirect, we might be able to enumerate all
- // potential
- // targets of the call and return them, rather than just failing.
+ // potential targets of the call and return them, rather than just
+ // failing.
return false;
}
OpenPOWER on IntegriCloud