diff options
-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 |