| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 27 struct Column { struct 37 Column(StringRef Str, unsigned Width) in Column() function 40 Column &set(TrimKind Value) { in set() argument 45 Column &set(AlignmentKind Value) { in set() argument 76 raw_ostream &operator<<(raw_ostream &OS, const Column &Value) { in operator <<() 81 Column column(StringRef Str, unsigned Width) { return Column(Str, Width); } in column() 84 Column column(StringRef Str, unsigned Width, const T &Value) { in column() 85 return Column(Str, Width).set(Value); in column() 184 OS << column(FileName, FileReportColumns[0], Column::NoTrim); in render() 199 OS << column("-", FileReportColumns[3], Column::RightAlignment); in render() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Format/ |
| H A D | FormatToken.cpp | 117 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 130 unsigned Column = 0; in formatAfterToken() local 139 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken() 140 ++Column; in formatAfterToken() 145 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken() 146 Column = 0; in formatAfterToken() 277 unsigned Column = 0; in precomputeFormattingInfos() local 280 if (MustBreakBeforeItem[i] || Column == Columns) { in precomputeFormattingInfos() 282 Column = 0; in precomputeFormattingInfos() 284 if (Column == Columns - 1) in precomputeFormattingInfos() [all …]
|
| H A D | ContinuationIndenter.cpp | 244 State.Column = FirstStartColumn; in getInitialState() 246 State.Column = FirstIndent; in getInitialState() 253 State.Column = 0; in getInitialState() 320 if (Current.is(TT_FunctionDeclarationName) && State.Column < 6) { in canBreak() 408 getLengthToMatchingParen(Previous, State.Stack) + State.Column - 1 > in mustBreak() 418 (State.Column + State.Line->Last->TotalLength - Previous.TotalLength > in mustBreak() 441 State.Column + getLengthToNextOperator(Current) > Style.ColumnLimit && in mustBreak() 442 (State.Column > NewLineColumn || in mustBreak() 455 !(State.Column <= NewLineColumn && Style.isJavaScript()) && in mustBreak() 456 !(Previous.closesScopeAfterBlock() && State.Column <= NewLineColumn)) { in mustBreak() [all …]
|
| H A D | ContinuationIndenter.h | 418 unsigned Column; member 467 if (Column != Other.Column) 468 return Column < Other.Column;
|
| H A D | FormatTokenLexer.cpp | 26 const SourceManager &SourceMgr, FileID ID, unsigned Column, in FormatTokenLexer() argument 31 Column(Column), TrailingWhitespace(0), 1035 Column = 0; in getNextToken() 1039 Column = 0; in getNextToken() 1042 ++Column; in getNextToken() 1045 Column += in getNextToken() 1046 Style.TabWidth - (Style.TabWidth ? Column % Style.TabWidth : 0); in getNextToken() 1133 FormatTok->OriginalColumn = Column; in getNextToken() 1159 ++Column; in getNextToken() 1164 ++Column; in getNextToken() [all …]
|
| H A D | FormatTokenLexer.h | 41 FormatTokenLexer(const SourceManager &SourceMgr, FileID ID, unsigned Column, 111 unsigned Column; variable
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 47 u32 Column; variable 50 SourceLocation() : Filename(), Line(), Column() {} in SourceLocation() 51 SourceLocation(const char *Filename, unsigned Line, unsigned Column) in SourceLocation() argument 52 : Filename(Filename), Line(Line), Column(Column) {} in SourceLocation() 61 (__sanitizer::atomic_uint32_t *)&Column, ~u32(0), in acquire() 69 return Column == ~u32(0); in isDisabled() 77 unsigned getColumn() const { return Column; } in getColumn()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FormattedStream.cpp | 27 unsigned &Column = Position.first; in UpdatePosition() local 30 auto ProcessUTF8CodePoint = [&Line, &Column](StringRef CP) { in UpdatePosition() 33 Column += Width; in UpdatePosition() 44 Column = 0; in UpdatePosition() 48 Column += (8 - (Column & 0x7)) & 0x7; in UpdatePosition()
|
| H A D | YAMLParser.cpp | 179 unsigned Column = 0; member 534 unsigned Column; member in llvm::yaml::Scanner 866 Column = 0; in init() 994 Column += Final - Current; in advanceWhile() 1014 ++Column; in scan_ns_uri_char() 1033 ++Column; in consume() 1041 Column += Distance; in skip() 1063 Column = 0; in consumeLineBreakIfPresent() 1076 SK.Column = AtColumn; in saveSimpleKeyCandidate() 1086 if (i->Line != Line || i->Column + 1024 < Column) { in removeStaleSimpleKeyCandidates() [all …]
|
| H A D | UnicodeNameToCodepoint.cpp | 262 char &PreviousInName, int &Pos, int Column) { in findSyllable() argument 263 assert(Column == 0 || Column == 1 || Column == 2); in findSyllable() 268 for (std::size_t I = 0; I < CountPerColumn[Column]; I++) { in findSyllable() 269 StringRef Syllable(HangulSyllables[I][Column]); in findSyllable() 488 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName() argument 489 assert(Column < Columns); in nearestMatchesForCodepointName() 491 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName()
|
| H A D | YAMLTraits.cpp | 558 ColumnAtMapFlowStart = Column; in beginFlowMapping() 620 ColumnAtFlowStart = Column; in beginFlowSequence() 634 if (WrapColumn && Column > WrapColumn) { in preflightFlowElement() 638 Column = ColumnAtFlowStart; in preflightFlowElement() 783 Column += s.size(); in output() 796 Column = 0; in outputNewLine() 851 if (WrapColumn && Column > WrapColumn) { in flowKey() 855 Column = ColumnAtMapFlowStart; in flowKey()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | CommandLineSourceLoc.h | 28 unsigned Column; member 40 if (!ColSplit.second.getAsInteger(10, PSL.Column) && in FromString() 56 Twine(Line) + ":" + Twine(Column)) in ToString() 100 EndColumn = Begin.Column; in fromString() 103 {Begin.Line, Begin.Column}, in fromString()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCCodeView.h | 43 uint16_t Column; variable 52 Column(column), PrologueEnd(prologueend), IsStmt(isstmt) {} in MCCVLoc() 69 unsigned getColumn() const { return Column; } in getColumn() 87 Column = column; in setColumn() 173 unsigned FileNo, unsigned Line, unsigned Column,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | MemProf.h | 153 uint32_t Column; member 161 Column = Other.Column; in Frame() 166 : Function(Hash), LineOffset(Off), Column(Col), IsInlineFrame(Inline) {} in Frame() 172 Other.Column == Column && Other.IsInlineFrame == IsInlineFrame; 179 Column = Other.Column; 199 LE.write<uint32_t>(Column); in serialize() 218 sizeof(Frame::Column) + sizeof(Frame::IsInlineFrame); in serializedSize() 227 << " Column: " << Column << "\n" in printYAML() 246 Result ^= HashCombine(Column, Result); in hash()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/ |
| H A D | DIContext.h | 42 uint32_t Column = 0; member 54 return Line == RHS.Line && Column == RHS.Column && 63 return std::tie(FileName, FunctionName, StartFileName, Line, Column, 66 RHS.Column, RHS.StartLine, RHS.Discriminator); 78 OS << "column " << Column << ", "; in dump()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | LogDiagnosticPrinter.cpp | 55 if (DE.Column != 0) { in EmitDiagEntry() 58 EmitInteger(OS, DE.Column) << '\n'; in EmitDiagEntry() 141 DE.Line = DE.Column = 0; in HandleDiagnostic() 156 DE.Column = PLoc.getColumn(); in HandleDiagnostic()
|
| H A D | TextDiagnostic.cpp | 546 unsigned Length, unsigned Column, in findEndOfWord() argument 584 Column + PunctWordLength <= Columns || in findEndOfWord() 594 return findEndOfWord(Start + 1, Str, Length, Column + 1, Columns); in findEndOfWord() 614 unsigned Column = 0, in printWordWrapped() argument 632 WordEnd = findEndOfWord(WordStart, Str, Length, Column, Columns); in printWordWrapped() 636 if (Column + WordLength < Columns) { in printWordWrapped() 640 Column += 1; in printWordWrapped() 644 Column += WordLength; in printWordWrapped() 654 Column = Indentation + WordLength; in printWordWrapped()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.cpp | 28 DWORD Column = 0; in getColumnNumber() local 29 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 424 unsigned &Line, unsigned &Column) const; 582 unsigned Column = D.getColumnNo(); in SrcMgrDiagHandler() local 583 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), in SrcMgrDiagHandler() 584 Loc.getLocWithOffset(Range.second - Column)); in SrcMgrDiagHandler() 656 StringRef &Filename, unsigned &Line, unsigned &Column) const { in getBestLocationFromDebugLoc() 662 D.getLocation(Filename, Line, Column); in getBestLocationFromDebugLoc() 670 DILoc = SourceMgr.translateFileLineCol(*FE, Line, Column ? Column : 1); in getBestLocationFromDebugLoc() 691 << Filename << Line << Column; in getBestLocationFromDebugLoc() 713 unsigned Line, Column; in UnsupportedDiagHandler() local 722 Loc = getBestLocationFromDebugLoc(D, BadDebugInfo, Filename, Line, Column); in UnsupportedDiagHandler() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.h | 46 struct Column { struct 61 IndexedMap<Column> ActiveCols; argument 85 : ActiveCols(Column()), MRI(MRI), STI(STI) {} in LiveVariablePrinter()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | DiagnosticInfo.cpp | 117 Column = DL->getColumn(); in DiagnosticLocation() 126 Column = 0; in DiagnosticLocation() 149 unsigned &Column) const { in getLocation() 152 Column = Loc.getColumn(); in getLocation() 158 unsigned Column = 0; in getLocationStr() local 160 getLocation(Filename, Line, Column); in getLocationStr() 161 return (Filename + ":" + Twine(Line) + ":" + Twine(Column)).str(); in getLocationStr()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/ |
| H A D | ResourcePressureView.cpp | 70 unsigned Column = OS.getColumn(); in printColumnNames() local 80 Column += 7; in printColumnNames() 85 OS.PadToColumn(Column); in printColumnNames()
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.h | 31 SourceLocation() : Line(), Column() {} in SourceLocation() 33 unsigned Column; member
|
| /openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 521 unsigned Column = 0; in emitLineTableForUnit() local 552 if (Column != Row.Column) { in emitLineTableForUnit() 553 Column = Row.Column; in emitLineTableForUnit() 555 MS->emitULEB128IntValue(Column); in emitLineTableForUnit() 556 LineSectionSize += 1 + getULEB128Size(Column); in emitLineTableForUnit() 615 RowsSinceLastSequence = Column = Isa = 0; in emitLineTableForUnit()
|
| /openbsd-src/gnu/llvm/llvm/tools/opt-viewer/ |
| H A D | opt-viewer.py | 117 indent = line[:max(r.Column, 1) - 1] 281 …ord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Line, r.Column, r.PassWithDiffPre… 283 …rted(optrecord.itervalues(all_remarks), key=lambda r: (r.File, r.Line, r.Column, r.PassWithDiffPre…
|