aboutsummaryrefslogtreecommitdiff
path: root/include/Support/EquivalenceClasses.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 18:37:50 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 18:37:50 +0000
commit48486893f46d2e12e926682a3ecb908716bc66c4 (patch)
tree1b9df5ccb8bd8eb836403dc9c1b3b42707c2d07d /include/Support/EquivalenceClasses.h
parentf4744498042cc69627b3a0b40fe80d3967179ea4 (diff)
Standardize header file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support/EquivalenceClasses.h')
-rw-r--r--include/Support/EquivalenceClasses.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/include/Support/EquivalenceClasses.h b/include/Support/EquivalenceClasses.h
index 96cfc87a72..dab5d73257 100644
--- a/include/Support/EquivalenceClasses.h
+++ b/include/Support/EquivalenceClasses.h
@@ -1,12 +1,11 @@
-//===-- Support/EquivalenceClasses.h -------------------------*- C++ -*--=//
+//===-- Support/EquivalenceClasses.h ----------------------------*- C++ -*-===//
//
-// Generic implementation of equivalence classes and implementation of
-// union-find algorithms
-// A not-so-fancy implementation: 2 level tree i.e root and one more level
-// Overhead of a union = size of the equivalence class being attached
-// Overhead of a find = 1.
+// Generic implementation of equivalence classes and implementation of
+// union-find algorithms A not-so-fancy implementation: 2 level tree i.e root
+// and one more level Overhead of a union = size of the equivalence class being
+// attached Overhead of a find = 1.
//
-//===------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#ifndef SUPPORT_EQUIVALENCECLASSES_H
#define SUPPORT_EQUIVALENCECLASSES_H
@@ -68,7 +67,6 @@ public:
return EqClass;
ElemTy classLeader = Elem2ECLeaderMap[Element1];
-
for (typename std::map<ElemTy, ElemTy>::iterator ElemI =
Elem2ECLeaderMap.begin(), ElemE = Elem2ECLeaderMap.end();
ElemI != ElemE; ++ElemI) {
@@ -77,13 +75,11 @@ public:
}
return EqClass;
-
}
std::map<ElemTy, ElemTy>& getLeaderMap() {
return Elem2ECLeaderMap ;
}
-
};
#endif