summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-08-23 19:06:23 +0000
committerLang Hames <lhames@gmail.com>2012-08-23 19:06:23 +0000
commitbfa7edae1ca275d54a0ac7b232c14ccf782ec48d (patch)
treec9c77899a6339945240fbc3a4196b895dd67b05a /include/llvm/CodeGen
parent9b54141cae0d3f429c414f28cd8c3dc1e819eb92 (diff)
downloadllvm-bfa7edae1ca275d54a0ac7b232c14ccf782ec48d.tar.gz
llvm-bfa7edae1ca275d54a0ac7b232c14ccf782ec48d.tar.bz2
llvm-bfa7edae1ca275d54a0ac7b232c14ccf782ec48d.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/PBQP/HeuristicBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/PBQP/HeuristicBase.h b/include/llvm/CodeGen/PBQP/HeuristicBase.h
index 700c831edf..0c1fcb7eaf 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.