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 | TextDiagnostic.cpp | 731 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() local 734 ColNo--; in emitDiagnosticLoc() 737 OS << ColNo; in emitDiagnosticLoc() 851 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() local 853 = ColNo + Lexer::MeasureTokenLength(Loc, SM, LangOpts); in emitSnippetAndCaret() 857 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in emitSnippetAndCaret() 887 ColNo = sourceColMap.byteToColumn(ColNo-1); in emitSnippetAndCaret() 888 if (CaretLine.size()<ColNo+1) in emitSnippetAndCaret() 889 CaretLine.resize(ColNo+1, ' '); in emitSnippetAndCaret() 890 CaretLine[ColNo] = '^'; in emitSnippetAndCaret()
|
D | PrintPreprocessedOutput.cpp | 422 unsigned ColNo = SM.getExpansionColumnNumber(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 | 332 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); in HandlePiece() local 334 const char *LineStart = TokInstantiationPtr-ColNo; in HandlePiece()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1351 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local 1385 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
|