[cfe-commits] r96157 - /cfe/trunk/tools/CIndex/CIndex.cpp
Daniel Dunbar
daniel at zuster.org
Sun Feb 14 00:32:11 PST 2010
Author: ddunbar
Date: Sun Feb 14 02:32:11 2010
New Revision: 96157
URL: http://llvm.org/viewvc/llvm-project?rev=96157&view=rev
Log:
CIndex: Simplify (remove provably dead code).
Modified:
cfe/trunk/tools/CIndex/CIndex.cpp
Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=96157&r1=96156&r2=96157&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Sun Feb 14 02:32:11 2010
@@ -319,10 +319,6 @@
} // 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
More information about the cfe-commits
mailing list