aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-11-19 20:46:23 +0000
committerDan Gohman <gohman@apple.com>2007-11-19 20:46:23 +0000
commit50cdabcfd52e88381ade61450d98a1c757195bef (patch)
tree487cb54b6e194c6023b5e01a1fb2752bbb4bb905 /include/llvm/Analysis
parentdaf9bc8eee3eb1bc992480921f50ef1b760f4159 (diff)
downloadexternal_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.zip
external_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.tar.gz
external_llvm-50cdabcfd52e88381ade61450d98a1c757195bef.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')
-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);