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()
807 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local812 ColNo--; in emitDiagnosticLoc()815 OS << ColNo; in emitDiagnosticLoc()1088 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local1092 if (ColNo > MaxLineLengthToPrint) in emitSnippetAndCaret()1097 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in emitSnippetAndCaret()1125 ColNo = sourceColMap.byteToContainingColumn(ColNo-1); in emitSnippetAndCaret()1126 if (CaretLine.size()<ColNo+1) in emitSnippetAndCaret()1127 CaretLine.resize(ColNo+1, ' '); in emitSnippetAndCaret()1128 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()
1477 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local1511 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()