projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b54141
)
Fix a stub signature. HeuristicReduce should return a bool.
author
Lang Hames
<lhames@gmail.com>
Thu, 23 Aug 2012 19:06:23 +0000
(19:06 +0000)
committer
Lang 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
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/PBQP/HeuristicBase.h
b/include/llvm/CodeGen/PBQP/HeuristicBase.h
index 700c831edf3a76f3012cb546622aa04029d88b91..0c1fcb7eaf78df65382d137211f310e019928364 100644
(file)
--- 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.