Home
last modified time | relevance | path

Searched refs:SourceLine (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp77 static int bytesSincePreviousTabOrLineBegin(StringRef SourceLine, size_t i) { in bytesSincePreviousTabOrLineBegin() argument
80 if (SourceLine[--i]=='\t') in bytesSincePreviousTabOrLineBegin()
107 printableTextForNextCharacter(StringRef SourceLine, size_t *I, in printableTextForNextCharacter() argument
110 assert(*I < SourceLine.size() && "must point to a valid index"); in printableTextForNextCharacter()
112 if (SourceLine[*I] == '\t') { in printableTextForNextCharacter()
115 unsigned Col = bytesSincePreviousTabOrLineBegin(SourceLine, *I); in printableTextForNextCharacter()
126 const unsigned char *Begin = SourceLine.bytes_begin() + *I; in printableTextForNextCharacter()
137 if (End <= SourceLine.bytes_end() && llvm::isLegalUTF8Sequence(Begin, End)) { in printableTextForNextCharacter()
169 unsigned char Byte = SourceLine[*I]; in printableTextForNextCharacter()
176 static void expandTabs(std::string &SourceLine, unsigned TabStop) { in expandTabs() argument
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslerror.c186 char *SourceLine,
199 char *SourceLine,
474 if (!Enode->SourceLine) in AePrintErrorSourceLine()
514 if (Enode->SourceLine && Enode->LineNumber) in AePrintErrorSourceLine()
517 Enode->LineNumber, Enode->SourceLine); in AePrintErrorSourceLine()
831 char *SourceLine, in AslInitEnode() argument
848 Enode->SourceLine = NULL; in AslInitEnode()
862 if (SourceLine) in AslInitEnode()
864 Enode->SourceLine = UtLocalCalloc (strlen (SourceLine) + 1); in AslInitEnode()
865 strcpy (Enode->SourceLine, SourceLine); in AslInitEnode()
[all …]
H A Dasltypes.h372 char *SourceLine; member
H A Daslcompiler.h541 char *SourceLine,
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDisassembler.h484 struct SourceLine { struct
489 SourceLine() = default; argument
491 bool operator==(const SourceLine &rhs) const {
495 bool operator!=(const SourceLine &rhs) const {
503 std::vector<SourceLine> lines; argument
518 static SourceLine GetFunctionDeclLineEntry(const SymbolContext &sc);
522 SourceLine &line,
535 const SymbolContext &sc, SourceLine &line);
540 SourceLine sl; in ElideMixedSourceAndDisassemblyLine()
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h34 unsigned SourceLine = 0; member
163 LHS.SourceLine == RHS.SourceLine &&
172 return std::make_tuple(LHS.SourceFilePath, LHS.SourceLine, LHS.SourceColumn) <
173 std::make_tuple(RHS.SourceFilePath, RHS.SourceLine, RHS.SourceColumn);
H A DBitstreamRemarkParser.h63 std::optional<uint32_t> SourceLine; member
70 std::optional<uint32_t> SourceLine; member
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp114 Parser.SourceLine = Record[1]; in parseRecord()
133 Parser.TmpArgs.back().SourceLine = Record[3]; in parseRecord()
552 if (Helper.SourceFileNameIdx && Helper.SourceLine && Helper.SourceColumn) { in processRemark()
558 R.Loc->SourceLine = *Helper.SourceLine; in processRemark()
592 if (Arg.SourceFileNameIdx && Arg.SourceLine && Arg.SourceColumn) { in processRemark()
597 R.Args.back().Loc->SourceLine = *Arg.SourceLine; in processRemark()
H A DRemark.cpp41 << "File: " << SourceFilePath << ", Line: " << SourceLine in print()
83 return unwrap(DL)->SourceLine; in LLVMRemarkDebugLocGetSourceLine()
H A DBitstreamRemarkSerializer.cpp286 R.push_back(Loc->SourceLine); in emitRemarkBlock()
309 R.push_back(Arg.Loc->SourceLine); in emitRemarkBlock()
H A DYAMLRemarkSerializer.cpp82 unsigned Line = RL.SourceLine; in mapping()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp191 Disassembler::SourceLine
208 SourceLine decl_line; in GetFunctionDeclLineEntry()
218 SourceLine &line, in AddLineToSourceLineTables()
234 SourceLine &line) { in ElideMixedSourceAndDisassemblyLine()
351 SourceLine decl_line = GetFunctionDeclLineEntry(sc); in PrintInstructions()
356 SourceLine this_line; in PrintInstructions()
371 SourceLine previous_line; in PrintInstructions()
417 SourceLine this_line; in PrintInstructions()
441 SourceLine this_line; in PrintInstructions()
471 SourceLine previous_line; in PrintInstructions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.cpp118 uint32_t SourceLine) { in addInlineSite() argument
124 Entry.Header.SourceLineNum = SourceLine; in addInlineSite()
H A DRecordName.cpp223 UdtSourceLineRecord &SourceLine) { in visitKnownRecord() argument
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DTextDiagnostic.h115 void emitSnippet(StringRef SourceLine, unsigned MaxLineNoDisplayWidth,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.h104 void addInlineSite(TypeIndex FuncId, StringRef FileName, uint32_t SourceLine);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp391 ArrayRef<char> SourceLine) { in buildFixItLine() argument
395 const char *LineStart = SourceLine.begin(); in buildFixItLine()
396 const char *LineEnd = SourceLine.end(); in buildFixItLine()
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h413 Error visitKnownRecord(CVType &Record, UdtSourceLineRecord &SourceLine,
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp2576 UdtSourceLineRecord &SourceLine, in visitKnownRecord() argument
2581 printTypeIndex("UDT", SourceLine.getUDT(), StreamIPI); in visitKnownRecord()
2582 printTypeIndex("SourceFile", SourceLine.getSourceFile(), StreamIPI); in visitKnownRecord()
2583 W.printNumber("LineNumber", SourceLine.getLineNumber()); in visitKnownRecord()