Searched refs:ColNo (Results 1 – 5 of 5) sorted by relevance
117 unsigned ColNo = 0; in EscapeText() local120 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()
808 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local814 ColNo--; in emitDiagnosticLoc()817 OS << ColNo; in emitDiagnosticLoc()1090 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local1094 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()
513 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local519 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()
352 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local354 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
1468 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local1502 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()