Fix a stub signature. HeuristicReduce should return a bool.
authorLang Hames <lhames@gmail.com>
Thu, 23 Aug 2012 19:06:23 +0000 (19:06 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 23 Aug 2012 19:06:23 +0000 (19:06 +0000)
This should fix a -Wdocumentation warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162458 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/PBQP/HeuristicBase.h

index 700c831edf3a76f3012cb546622aa04029d88b91..0c1fcb7eaf78df65382d137211f310e019928364 100644 (file)
@@ -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.