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 | aad83c8ee57a69868636a81236ba807d82e007fe (patch) | |
| tree | 91774b3c5b5aabb4d4152e60ab04306c0564bb71 /llvm/lib/VMCore | |
| parent | 67d77945e71f79e7a2d361138bd45d025acd5036 (diff) | |
| download | bcm5719-llvm-aad83c8ee57a69868636a81236ba807d82e007fe.tar.gz bcm5719-llvm-aad83c8ee57a69868636a81236ba807d82e007fe.zip | |
Remove meaningless qualifiers from return types, avoiding compiler warnings.
llvm-svn: 44240
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/BasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/BasicBlock.cpp b/llvm/lib/VMCore/BasicBlock.cpp index 92734bb2138..d45a1c41aa7 100644 --- a/llvm/lib/VMCore/BasicBlock.cpp +++ b/llvm/lib/VMCore/BasicBlock.cpp @@ -134,7 +134,7 @@ TerminatorInst *BasicBlock::getTerminator() { return dyn_cast<TerminatorInst>(&InstList.back()); } -const TerminatorInst *const BasicBlock::getTerminator() const { +const TerminatorInst *BasicBlock::getTerminator() const { if (InstList.empty()) return 0; return dyn_cast<TerminatorInst>(&InstList.back()); } |

