[llvm] r362442 - CFLAA: reflow comments; NFC
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 12:56:22 PDT 2019
Author: gbiv
Date: Mon Jun 3 12:56:22 2019
New Revision: 362442
URL: http://llvm.org/viewvc/llvm-project?rev=362442&view=rev
Log:
CFLAA: reflow comments; NFC
Modified:
llvm/trunk/lib/Analysis/CFLGraph.h
Modified: llvm/trunk/lib/Analysis/CFLGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CFLGraph.h?rev=362442&r1=362441&r2=362442&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CFLGraph.h (original)
+++ llvm/trunk/lib/Analysis/CFLGraph.h Mon Jun 3 12:56:22 2019
@@ -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 CFLGraph
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 CFLGraph
}
// 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;
}
More information about the llvm-commits
mailing list