forked from OSchip/llvm-project
CIndex: Simplify (remove provably dead code).
llvm-svn: 96157
This commit is contained in:
parent
2f4ba179f5
commit
2049933196
|
@ -319,10 +319,6 @@ public:
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
|
||||||
RangeComparisonResult CursorVisitor::CompareRegionOfInterest(SourceRange R) {
|
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
|
// Move the end of the input range to the end of the last token in that
|
||||||
// range.
|
// range.
|
||||||
SourceLocation NewEnd
|
SourceLocation NewEnd
|
||||||
|
|
Loading…
Reference in New Issue