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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue