aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PBQP
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-19 07:05:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-19 07:05:23 +0000
commitcabdd7425d30f7eb659ecb0cc5efbc4052dd78a8 (patch)
treed9fa1ef1b5b9c3b85189cd95f0c993ee77b45d73 /lib/CodeGen/PBQP
parent0ebc6ce974287498460a5bf66f2620f5dbc5e08c (diff)
downloadexternal_llvm-cabdd7425d30f7eb659ecb0cc5efbc4052dd78a8.zip
external_llvm-cabdd7425d30f7eb659ecb0cc5efbc4052dd78a8.tar.gz
external_llvm-cabdd7425d30f7eb659ecb0cc5efbc4052dd78a8.tar.bz2
Fix a bunch of little errors that Clang complains about when its being pedantic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PBQP')
-rw-r--r--lib/CodeGen/PBQP/GraphBase.h2
-rw-r--r--lib/CodeGen/PBQP/HeuristicSolver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/PBQP/GraphBase.h b/lib/CodeGen/PBQP/GraphBase.h
index cc3e017..0c7493b 100644
--- a/lib/CodeGen/PBQP/GraphBase.h
+++ b/lib/CodeGen/PBQP/GraphBase.h
@@ -298,7 +298,7 @@ public:
for (ConstAdjEdgeIterator adjEdgeItr = adjEdgesBegin(node1Itr),
adjEdgeEnd = adjEdgesEnd(node1Itr);
- adjEdgeItr != adjEdgesEnd; ++adjEdgeItr) {
+ adjEdgeItr != adjEdgeEnd; ++adjEdgeItr) {
if ((getEdgeNode1Itr(*adjEdgeItr) == node2Itr) ||
(getEdgeNode2Itr(*adjEdgeItr) == node2Itr)) {
return *adjEdgeItr;
diff --git a/lib/CodeGen/PBQP/HeuristicSolver.h b/lib/CodeGen/PBQP/HeuristicSolver.h
index e786246..1670877 100644
--- a/lib/CodeGen/PBQP/HeuristicSolver.h
+++ b/lib/CodeGen/PBQP/HeuristicSolver.h
@@ -536,7 +536,7 @@ private:
else reductionFinished = true;
}
- };
+ }
void processR1() {