Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/Core/
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.cpp807 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local
812 ColNo--; in emitDiagnosticLoc()
815 OS << ColNo; in emitDiagnosticLoc()
1088 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local
1092 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()
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.cpp1477 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1511 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()