/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 117 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/ |
D | HTMLRewrite.cpp | 118 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/ |
D | TextDiagnostic.cpp | 808 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 …]
|
D | PrintPreprocessedOutput.cpp | 522 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/ |
D | SourceMgr.cpp | 223 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/ |
D | PrintPreprocessedOutput.cpp | 605 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()
|
D | TextDiagnostic.cpp | 840 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local 846 ColNo--; in emitDiagnosticLoc() 849 OS << ColNo; in emitDiagnosticLoc()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 370 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/ |
D | SourceMgr.h | 183 unsigned ColNo);
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 1262 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/ |
D | HTMLDiagnostics.cpp | 795 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local 797 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1483 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/ |
D | SourceManager.cpp | 1490 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local 1528 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
|