Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
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/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp118 unsigned ColNo = 0; in EscapeText() local
121 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()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp808 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local
814 ColNo--; in emitDiagnosticLoc()
817 OS << ColNo; in emitDiagnosticLoc()
1101 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local
1105 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 …]
DPrintPreprocessedOutput.cpp522 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local
528 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()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp223 unsigned ColNo) { in FindLocForLineAndColumn() argument
230 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()
/external/llvm-project/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp605 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local
611 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()
DTextDiagnostic.cpp840 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local
846 ColNo--; in emitDiagnosticLoc()
849 OS << ColNo; in emitDiagnosticLoc()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp370 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local
372 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
/external/llvm-project/llvm/include/llvm/Support/
DSourceMgr.h183 unsigned ColNo);
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1262 unsigned ColNo = SM.getSpellingColumnNumber(Loc); in getVisualIndentation() local
1263 if (ColNo == 0 || TabStop == 1) in getVisualIndentation()
1264 return ColNo; in getVisualIndentation()
1275 assert(FIDAndOffset.second + 1 >= ColNo && in getVisualIndentation()
1281 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp795 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local
797 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
/external/clang/lib/Basic/
DSourceManager.cpp1483 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1517 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1490 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1528 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()