Searched refs:ColNo (Results 1 – 6 of 6) sorted by relevance
/external/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/llvm/lib/VMCore/ |
D | DebugLoc.cpp | 122 unsigned LineNo = 0, ColNo = 0; in getFromDILocation() local 126 ColNo = Col->getZExtValue(); in getFromDILocation() 128 return get(LineNo, ColNo, Scope, dyn_cast_or_null<MDNode>(N->getOperand(3))); in getFromDILocation() 138 unsigned LineNo = 0, ColNo = 0; in getFromDILexicalBlock() local 142 ColNo = Col->getZExtValue(); in getFromDILexicalBlock() 144 return get(LineNo, ColNo, Scope, NULL); in getFromDILexicalBlock()
|
/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 442 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in EmitCaretDiagnostic() local 444 = ColNo + Lexer::MeasureTokenLength(Loc, SM, *LangOpts); in EmitCaretDiagnostic() 448 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in EmitCaretDiagnostic() 478 if (ColNo-1 < CaretLine.size()) in EmitCaretDiagnostic() 479 CaretLine[ColNo-1] = '^'; in EmitCaretDiagnostic() 900 if (unsigned ColNo = PLoc.getColumn()) { in HandleDiagnostic() local 903 ColNo--; in HandleDiagnostic() 906 OS << ColNo; in HandleDiagnostic()
|
D | PrintPreprocessedOutput.cpp | 422 unsigned ColNo = SM.getInstantiationColumnNumber(Tok.getLocation()); in HandleFirstTokOnLine() local 430 if (ColNo <= 1 && Tok.is(tok::hash)) in HandleFirstTokOnLine() 434 for (; ColNo > 1; --ColNo) in HandleFirstTokOnLine()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 337 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local 339 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1248 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local 1282 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
|