Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/Rewrite/
H A 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A 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()
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A 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()
H A DTextDiagnostic.cpp829 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local
835 ColNo--; in emitDiagnosticLoc()
838 OS << ColNo; in emitDiagnosticLoc()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h183 unsigned ColNo);
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1265 unsigned ColNo = SM.getSpellingColumnNumber(Loc); in getVisualIndentation() local
1266 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()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp816 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local
818 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1544 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1582 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()