diff options
author | Dan Gohman <gohman@apple.com> | 2007-11-19 20:46:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-11-19 20:46:23 +0000 |
commit | 50cdabcfd52e88381ade61450d98a1c757195bef (patch) | |
tree | 487cb54b6e194c6023b5e01a1fb2752bbb4bb905 /include/llvm/Analysis | |
parent | daf9bc8eee3eb1bc992480921f50ef1b760f4159 (diff) | |
download | external_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.h | 2 |
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); |