diff options
| author | Lang Hames <lhames@gmail.com> | 2012-08-23 19:06:23 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2012-08-23 19:06:23 +0000 |
| commit | b86a55a16180f2a885052f2e196d55f87252cccb (patch) | |
| tree | 93f4004c2d3ba697f480ee072424ed3772ac1c01 /llvm | |
| parent | 0481ae472298f8977c9928fb6f1f9a5f7e8374e1 (diff) | |
| download | bcm5719-llvm-b86a55a16180f2a885052f2e196d55f87252cccb.tar.gz bcm5719-llvm-b86a55a16180f2a885052f2e196d55f87252cccb.zip | |
Fix a stub signature. HeuristicReduce should return a bool.
This should fix a -Wdocumentation warning.
llvm-svn: 162458
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h b/llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h index 700c831edf3..0c1fcb7eaf7 100644 --- a/llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h +++ b/llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h @@ -193,8 +193,9 @@ namespace PBQP { /// reduce list. /// @return True if a reduction takes place, false if the heuristic reduce /// list is empty. - void heuristicReduce() { + bool heuristicReduce() { llvm_unreachable("Must be implemented in derived class."); + return false; } /// \brief Prepare a change in the costs on the given edge. |

