Home
last modified time | relevance | path

Searched refs:Col (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DSourceCoverageViewText.cpp114 unsigned Col = 1; in renderLine() local
116 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine()
120 << Line.substr(Col - 1, End - Col); in renderLine()
122 HighlightedRanges.push_back(std::make_pair(Col, End)); in renderLine()
123 Col = End; in renderLine()
127 else if (Col == ExpansionCol) in renderLine()
136 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine()
192 if (S->Col > PrevColumn) in renderRegionMarkers()
193 OS.indent(S->Col - PrevColumn); in renderRegionMarkers()
194 PrevColumn = S->Col + 1; in renderRegionMarkers()
[all …]
H A DSourceCoverageViewHTML.cpp515 Snip(LCol - 1, Segments.empty() ? 0 : (Segments.front()->Col - 1)); in renderLine()
518 Snip(LCol - 1, Segments[I]->Col - LCol); in renderLine()
555 else if (CurSeg->Col == ExpansionCol) in renderLine()
561 Snippets[I + 1] = Highlight(Snippets[I + 1], CurSeg->Col, in renderLine()
562 CurSeg->Col + Snippets[I + 1].size()); in renderLine()
597 errs() << "Marker at " << CurSeg->Line << ":" << CurSeg->Col << " = " in renderLine()
H A DCoverageExporterJson.cpp59 return json::Array({Segment.Line, Segment.Col, int64_t(Segment.Count), in renderSegment()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h385 unsigned Col; member
395 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment()
396 : Line(Line), Col(Col), Count(0), HasCount(false), in CoverageSegment()
399 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count,
401 : Line(Line), Col(Col), Count(Count), HasCount(true), in Line()
405 return std::tie(L.Line, L.Col, L.Count, L.HasCount, L.IsRegionEntry,
406 L.IsGapRegion) == std::tie(R.Line, R.Col, R.Count,
421 unsigned Col; variable
424 InstantiationGroup(unsigned Line, unsigned Col, in InstantiationGroup() argument
426 : Line(Line), Col(Col), Instantiations(std::move(Instantiations)) {} in InstantiationGroup()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h50 unsigned Col; member
53 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location()
54 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {} in Location()
H A DASTUnit.h546 unsigned Line, unsigned Col) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp604 Col = LastCol; in getMatchingNodes()
606 while (Row > FirstRow || Col > FirstCol) { in getMatchingNodes()
608 ForestDist[Row - 1][Col] + 1 == ForestDist[Row][Col]) { in getMatchingNodes()
610 } else if (Col > FirstCol && in getMatchingNodes()
611 ForestDist[Row][Col - 1] + 1 == ForestDist[Row][Col]) { in getMatchingNodes()
612 --Col; in getMatchingNodes()
615 SNodeId LMD2 = S2.getLeftMostDescendant(Col); in getMatchingNodes()
619 NodeId Id2 = S2.getIdInRoot(Col); in getMatchingNodes()
624 --Col; in getMatchingNodes()
626 TreePairs.emplace_back(Row, Col); in getMatchingNodes()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugLoc.cpp72 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() argument
78 return DILocation::get(Scope->getContext(), Line, Col, in get()
H A DDiagnosticInfo.cpp432 unsigned Col = DL.getColumn(); in mapping() local
436 io.mapRequired("Column", Col); in mapping()
H A DDIBuilder.cpp836 unsigned Line, unsigned Col) { in createLexicalBlock() argument
840 File, Line, Col); in createLexicalBlock()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h287 unsigned Line, Col; variable
293 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) {} in PresumedLoc()
323 return Col; in getColumn()
H A DSourceManager.h1533 unsigned Line, unsigned Col) const;
1544 unsigned Line, unsigned Col) const;
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp93 unsigned Col) { in printResourcePressure() argument
100 OS.PadToColumn(Col); in printResourcePressure()
/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp355 dbgs() << "Segment at " << Last.Line << ":" << Last.Col in startSegment()
544 if (!(L.Line < R.Line) && !(L.Line == R.Line && L.Col < R.Col)) { in buildSegments()
545 LLVM_DEBUG(dbgs() << " ! Segment " << L.Line << ":" << L.Col in buildSegments()
546 << " followed by " << R.Line << ":" << R.Col << "\n"); in buildSegments()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugLoc.h80 static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope,
H A DDIBuilder.h748 unsigned Line, unsigned Col);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DUBSanRuntime.cpp169 unsigned Col = RetrieveUnsigned(main_value, process_sp, ".col"); in RetrieveReportData() local
180 d->AddIntegerItem("col", Col); in RetrieveReportData()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp809 RECORD_SOURCE_RANGE, FileLookup[Start.FileID], Start.Line, Start.Col, in visitSourceRangeRecord()
810 Start.Offset, FileLookup[End.FileID], End.Line, End.Col, End.Offset}; in visitSourceRangeRecord()
821 Location.Col, Location.Offset, CategoryLookup[Category], in visitDiagnosticRecord()
834 Start.Line, Start.Col, Start.Offset, in visitFixitRecord()
835 FileLookup[End.FileID], End.Line, End.Col, in visitFixitRecord()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp1553 unsigned Col) const { in translateFileLineCol()
1555 assert(Line && Col && "Line and column should start from 1!"); in translateFileLineCol()
1558 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol()
1682 unsigned Col) const { in translateLineCol()
1685 assert(Line && Col && "Line and column should start from 1!"); in translateLineCol()
1700 if (Line == 1 && Col == 1) in translateLineCol()
1734 while (i < BufLength-1 && i < Col-1 && Buf[i] != '\n' && Buf[i] != '\r') in translateLineCol()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCCodeView.cpp113 InlinedAt.Col = IACol; in recordInlinedCallSiteId()
299 FilteredLines.back().getColumn() != IA.Col) { in getFunctionLineEntries()
302 FuncId, IA.File, IA.Line, IA.Col, false, false)); in getFunctionLineEntries()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCCodeView.h105 unsigned Col; member
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentHTMLTags.td50 def Col : Tag<"col"> { let EndTagForbidden = 1; }
/freebsd-12.1/contrib/llvm/lib/Support/
H A DSourceMgr.cpp266 int Line, int Col, SourceMgr::DiagKind Kind, in SMDiagnostic() argument
270 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DSourceMgr.h280 int Line, int Col, SourceMgr::DiagKind Kind,
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h553 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope,

12