diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:11 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:11 +0000 |
commit | ecaceb5ab8e7a0583988bf7a03fe3c2400108c00 (patch) | |
tree | d933bad4a2c26bb843049d07d128baa537c56c2c | |
parent | f408f32aa9ae3d97bc656267dc5d78fa7d03499b (diff) |
CIndex: Simplify (remove provably dead code).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96157 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/CIndex/CIndex.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp index bd897d9eb3..fd8ce2a425 100644 --- a/tools/CIndex/CIndex.cpp +++ b/tools/CIndex/CIndex.cpp @@ -319,10 +319,6 @@ public: } // end anonymous namespace RangeComparisonResult CursorVisitor::CompareRegionOfInterest(SourceRange R) { - assert(RegionOfInterest.isValid() && "RangeCompare called with invalid range"); - if (R.isInvalid()) - return RangeOverlap; - // Move the end of the input range to the end of the last token in that // range. SourceLocation NewEnd |