Home
last modified time | relevance | path

Searched refs:ColNo (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Rewrite/
DHTMLRewrite.cpp117 unsigned ColNo = 0; in EscapeText() local
120 default: ++ColNo; break; in EscapeText()
123 ColNo = 0; in EscapeText()
129 ++ColNo; in EscapeText()
133 ColNo = 0; in EscapeText()
139 unsigned NumSpaces = 8-(ColNo&7); in EscapeText()
146 ColNo += NumSpaces; in EscapeText()
151 ++ColNo; in EscapeText()
156 ++ColNo; in EscapeText()
161 ++ColNo; in EscapeText()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp808 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local
814 ColNo--; in emitDiagnosticLoc()
817 OS << ColNo; in emitDiagnosticLoc()
1090 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local
1094 if (ColNo > MaxLineLengthToPrint) in emitSnippetAndCaret()
1099 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in emitSnippetAndCaret()
1128 ColNo = sourceColMap.byteToContainingColumn(ColNo-1); in emitSnippetAndCaret()
1129 if (CaretLine.size()<ColNo+1) in emitSnippetAndCaret()
1130 CaretLine.resize(ColNo+1, ' '); in emitSnippetAndCaret()
1131 CaretLine[ColNo] = '^'; in emitSnippetAndCaret()
DPrintPreprocessedOutput.cpp513 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local
519 if (ColNo == 1 && Tok.hasLeadingSpace()) in HandleFirstTokOnLine()
520 ColNo = 2; in HandleFirstTokOnLine()
528 if (ColNo <= 1 && Tok.is(tok::hash)) in HandleFirstTokOnLine()
532 for (; ColNo > 1; --ColNo) in HandleFirstTokOnLine()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp352 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local
354 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
/external/clang/lib/Basic/
DSourceManager.cpp1468 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1502 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()