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()1101 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local1105 if (ColNo > MaxLineLengthToPrint) in emitSnippetAndCaret()1110 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in emitSnippetAndCaret()1124 while (Line.size() > ColNo && Line.back() == '\0') in emitSnippetAndCaret()1144 ColNo = sourceColMap.byteToContainingColumn(ColNo-1); in emitSnippetAndCaret()1145 if (CaretLine.size()<ColNo+1) in emitSnippetAndCaret()1146 CaretLine.resize(ColNo+1, ' '); in emitSnippetAndCaret()[all …]
522 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local528 if (ColNo == 1 && Tok.hasLeadingSpace()) in HandleFirstTokOnLine()529 ColNo = 2; in HandleFirstTokOnLine()537 if (ColNo <= 1 && Tok.is(tok::hash)) in HandleFirstTokOnLine()541 for (; ColNo > 1; --ColNo) in HandleFirstTokOnLine()
370 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local372 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
1483 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local1517 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()