diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2010-09-02 07:08:05 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2010-09-02 07:08:05 +0000 |
| commit | 07987c32b62dab2cee09936b144f3b093b0e894d (patch) | |
| tree | 27dc0664d28c36406ae7d1503de345ac3178683d /lib | |
| parent | dff316447a98d2e6a74f9127276e5f53bf3ef7bf (diff) | |
| download | external_llvm-07987c32b62dab2cee09936b144f3b093b0e894d.zip external_llvm-07987c32b62dab2cee09936b144f3b093b0e894d.tar.gz external_llvm-07987c32b62dab2cee09936b144f3b093b0e894d.tar.bz2 | |
Silence an ambiguous else warning from GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/CodeGen/PBQP/HeuristicBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/PBQP/HeuristicBase.h b/lib/CodeGen/PBQP/HeuristicBase.h index 3744231..791c227 100644 --- a/lib/CodeGen/PBQP/HeuristicBase.h +++ b/lib/CodeGen/PBQP/HeuristicBase.h @@ -173,12 +173,13 @@ namespace PBQP { bool finished = false; while (!finished) { - if (!optimalReduce()) + if (!optimalReduce()) { if (impl().heuristicReduce()) { getSolver().recordRN(); } else { finished = true; } + } } } |
