Searched refs:ColNo (Results 1 – 6 of 6) sorted by relevance
/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/swiftshader/third_party/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 | 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/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/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()
|