aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Dominators.h
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-11-19 20:46:23 +0000
committerDan Gohman <djg@cray.com>2007-11-19 20:46:23 +0000
commit62ea18a09b95dd72ee77e6910d5992d684a56838 (patch)
tree487cb54b6e194c6023b5e01a1fb2752bbb4bb905 /include/llvm/Analysis/Dominators.h
parent3dec33af58c8392159bd355c6c8ae2425c98c0d7 (diff)
downloadexternal_llvm-62ea18a09b95dd72ee77e6910d5992d684a56838.zip
external_llvm-62ea18a09b95dd72ee77e6910d5992d684a56838.tar.gz
external_llvm-62ea18a09b95dd72ee77e6910d5992d684a56838.tar.bz2
Remove meaningless qualifiers from return types, avoiding compiler warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r--include/llvm/Analysis/Dominators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 53d7e3d..9b0ef72 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -345,7 +345,7 @@ public:
/// isReachableFromEntry - Return true if A is dominated by the entry
/// block of the function containing it.
- const bool isReachableFromEntry(NodeT* A) {
+ bool isReachableFromEntry(NodeT* A) {
assert (!this->isPostDominator()
&& "This is not implemented for post dominators");
return dominates(&A->getParent()->front(), A);