Searched refs:ColNo (Results 1 – 8 of 8) sorted by relevance
118 unsigned ColNo = 0; in EscapeText() local121 default: ++ColNo; break; in EscapeText()124 ColNo = 0; in EscapeText()130 ++ColNo; in EscapeText()134 ColNo = 0; in EscapeText()140 unsigned NumSpaces = 8-(ColNo&7); in EscapeText()147 ColNo += NumSpaces; in EscapeText()152 ++ColNo; in EscapeText()157 ++ColNo; in EscapeText()162 ++ColNo; in EscapeText()
223 unsigned ColNo) { in FindLocForLineAndColumn() argument230 if (ColNo != 0) in FindLocForLineAndColumn()231 --ColNo; in FindLocForLineAndColumn()234 if (ColNo) { in FindLocForLineAndColumn()236 if (Ptr + ColNo > SB.Buffer->getBufferEnd()) in FindLocForLineAndColumn()240 if (StringRef(Ptr, ColNo).find_first_of("\n\r") != StringRef::npos) in FindLocForLineAndColumn()243 Ptr += ColNo; in FindLocForLineAndColumn()
605 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local611 if (ColNo == 1 && Tok.hasLeadingSpace()) in HandleFirstTokOnLine()612 ColNo = 2; in HandleFirstTokOnLine()620 if (ColNo <= 1 && Tok.is(tok::hash)) in HandleFirstTokOnLine()624 for (; ColNo > 1; --ColNo) in HandleFirstTokOnLine()
829 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local835 ColNo--; in emitDiagnosticLoc()838 OS << ColNo; in emitDiagnosticLoc()
183 unsigned ColNo);
1265 unsigned ColNo = SM.getSpellingColumnNumber(Loc); in getVisualIndentation() local1266 if (ColNo == 0 || TabStop == 1) in getVisualIndentation()1267 return ColNo; in getVisualIndentation()1278 assert(FIDAndOffset.second + 1 >= ColNo && in getVisualIndentation()1284 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()
816 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local818 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
1544 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local1582 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()