Minor comment changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42304 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/DataflowSolver.h b/Analysis/DataflowSolver.h
index ebb5e6f..cbdbde6 100644
--- a/Analysis/DataflowSolver.h
+++ b/Analysis/DataflowSolver.h
@@ -23,6 +23,7 @@
//===----------------------------------------------------------------------===//
/// DataflowWorkListTy - Data structure representing the worklist used for
/// dataflow algorithms.
+//===----------------------------------------------------------------------===//
class DataflowWorkListTy {
typedef llvm::SmallPtrSet<const CFGBlock*,20> BlockSet;
@@ -48,6 +49,7 @@
// BlockItrTraits - Traits classes that allow transparent iteration over
// successors/predecessors of a block depending on the direction of our
// dataflow analysis.
+//===----------------------------------------------------------------------===//
namespace dataflow {
template<typename Tag> struct ItrTraits {};
@@ -101,15 +103,17 @@
//===----------------------------------------------------------------------===//
/// DataflowSolverTy - Generic dataflow solver.
+//===----------------------------------------------------------------------===//
+
template <typename _DFValuesTy, // Usually a subclass of DataflowValues
typename _TransferFuncsTy,
typename _MergeOperatorTy,
typename _Equal = std::equal_to<typename _DFValuesTy::ValTy> >
class DataflowSolver {
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
// Type declarations.
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
public:
typedef _DFValuesTy DFValuesTy;
@@ -126,9 +130,9 @@
typedef typename ItrTraits::PrevBItr PrevBItr;
typedef typename ItrTraits::StmtItr StmtItr;
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
// External interface: constructing and running the solver.
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
public:
DataflowSolver(DFValuesTy& d) : D(d), TF(d.getAnalysisData()) {}
@@ -167,9 +171,9 @@
runOnBlock(I);
}
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
// Internal solver logic.
- //===--------------------------------------------------------------------===//
+ //===----------------------------------------------------===//
private: