summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit555eaf5bbbcacfda939e106b8f108ef8703b9139 (patch)
tree75bf4f24fbf978395b7fc8491cc17cc242230c01 /llvm/include/Support/EquivalenceClasses.h
parenta559b209eb14d76abe513b3981c4a16e446aaa54 (diff)
downloadbcm5719-llvm-555eaf5bbbcacfda939e106b8f108ef8703b9139.tar.gz
bcm5719-llvm-555eaf5bbbcacfda939e106b8f108ef8703b9139.zip
Standardize header file comments
llvm-svn: 8782
Diffstat (limited to 'llvm/include/Support/EquivalenceClasses.h')
-rw-r--r--llvm/include/Support/EquivalenceClasses.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/llvm/include/Support/EquivalenceClasses.h b/llvm/include/Support/EquivalenceClasses.h
index 96cfc87a725..dab5d73257c 100644
--- a/llvm/include/Support/EquivalenceClasses.h
+++ b/llvm/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
OpenPOWER on IntegriCloud