diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-12 05:30:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-12 05:30:50 +0000 |
commit | ab1af606a9ff00d892336b8025fcae345709a3dc (patch) | |
tree | 36d9187f7fdf077c190e62856dbf5f6dd47c196b /tools/libclang/CIndex.cpp | |
parent | a333c66b94f6d6dcd5ee7e625d816d3c0300e8e6 (diff) |
Remove debugging aids I did not intend to commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CIndex.cpp')
-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; |