diff options
-rw-r--r-- | tools/libclang/CIndex.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 0e6f341fc5..d24652b22d 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -2440,9 +2440,6 @@ AnnotateTokensWorker::Visit(CXCursor cursor, CXCursor parent) { if (TypeSourceInfo *TI = DD->getTypeSourceInfo()) { TypeLoc TL = TI->getTypeLoc(); SourceLocation TLoc = TL.getFullSourceRange().getBegin(); - unsigned col1 = SrcMgr.getSpellingColumnNumber(L); - unsigned col2 = SrcMgr.getSpellingColumnNumber(TLoc); - if (TLoc.isValid()) { assert(SrcMgr.isBeforeInTranslationUnit(TLoc, L)); cursorRange.setBegin(TLoc); @@ -2460,7 +2457,6 @@ AnnotateTokensWorker::Visit(CXCursor cursor, CXCursor parent) { while (MoreTokens()) { const unsigned I = NextToken(); SourceLocation TokLoc = GetTokenLoc(I); - unsigned col3 = SrcMgr.getSpellingColumnNumber(TokLoc); switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { case RangeBefore: Cursors[I] = updateC; |