From 6179aaf737519ed46622d46c57ba1a3e6b4b518d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 25 Sep 2007 17:51:05 +0000 Subject: [PATCH] Minor comment changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42304 91177308-0d34-0410-b5e6-96231b3b80d8 --- Analysis/DataflowSolver.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Analysis/DataflowSolver.h b/Analysis/DataflowSolver.h index ebb5e6f2ee..cbdbde67d4 100644 --- a/Analysis/DataflowSolver.h +++ b/Analysis/DataflowSolver.h @@ -23,6 +23,7 @@ namespace clang { //===----------------------------------------------------------------------===// /// DataflowWorkListTy - Data structure representing the worklist used for /// dataflow algorithms. +//===----------------------------------------------------------------------===// class DataflowWorkListTy { typedef llvm::SmallPtrSet BlockSet; @@ -48,6 +49,7 @@ public: // BlockItrTraits - Traits classes that allow transparent iteration over // successors/predecessors of a block depending on the direction of our // dataflow analysis. +//===----------------------------------------------------------------------===// namespace dataflow { template struct ItrTraits {}; @@ -101,15 +103,17 @@ template <> struct ItrTraits { //===----------------------------------------------------------------------===// /// DataflowSolverTy - Generic dataflow solver. +//===----------------------------------------------------------------------===// + template > class DataflowSolver { - //===--------------------------------------------------------------------===// + //===----------------------------------------------------===// // Type declarations. - //===--------------------------------------------------------------------===// + //===----------------------------------------------------===// public: typedef _DFValuesTy DFValuesTy; @@ -126,9 +130,9 @@ public: 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 @@ public: runOnBlock(I); } - //===--------------------------------------------------------------------===// + //===----------------------------------------------------===// // Internal solver logic. - //===--------------------------------------------------------------------===// + //===----------------------------------------------------===// private: -- 2.40.0