CIndex: Simplify (remove provably dead code).

llvm-svn: 96157
This commit is contained in:
Daniel Dunbar 2010-02-14 08:32:11 +00:00
parent 2f4ba179f5
commit 2049933196
1 changed files with 0 additions and 4 deletions

View File

@ -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