From: Lang Hames Date: Thu, 23 Aug 2012 19:06:23 +0000 (+0000) Subject: Fix a stub signature. HeuristicReduce should return a bool. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bfa7edae1ca275d54a0ac7b232c14ccf782ec48d;p=oota-llvm.git Fix a stub signature. HeuristicReduce should return a bool. This should fix a -Wdocumentation warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162458 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/PBQP/HeuristicBase.h b/include/llvm/CodeGen/PBQP/HeuristicBase.h index 700c831edf3..0c1fcb7eaf7 100644 --- a/include/llvm/CodeGen/PBQP/HeuristicBase.h +++ b/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.