Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp77 static int bytesSincePreviousTabOrLineBegin(StringRef SourceLine, size_t i) {
80 if (SourceLine[--i]=='\t')
101 /// \param SourceLine The line of source in printableTextForNextCharacter()
107 printableTextForNextCharacter(StringRef SourceLine, size_t *I, in printableTextForNextCharacter()
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[* in expandTabs()
68 bytesSincePreviousTabOrLineBegin(StringRef SourceLine,size_t i) bytesSincePreviousTabOrLineBegin() argument
98 printableTextForNextCharacter(StringRef SourceLine,size_t * I,unsigned TabStop) printableTextForNextCharacter() argument
167 expandTabs(std::string & SourceLine,unsigned TabStop) expandTabs() argument
216 genColumnByteMapping(StringRef SourceLine,unsigned TabStop,SmallVectorImpl<int> & BytesOut,SmallVectorImpl<int> & ColumnsOut) genColumnByteMapping() argument
313 selectInterestingSourceRegion(std::string & SourceLine,std::string & CaretLine,std::string & FixItInsertionLine,unsigned Columns,const SourceColumnMap & map) selectInterestingSourceRegion() argument
1207 std::string SourceLine(LineStart, LineEnd); emitSnippetAndCaret() local
1278 emitSnippet(StringRef SourceLine,unsigned MaxLineNoDisplayWidth,unsigned LineNo) emitSnippet() argument
[all...]
/freebsd-src/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()
812 * SourceLine - Line of error source code
831 char *SourceLine, in AslInitEnode() argument
848 Enode->SourceLine = NULL; in AslInitEnode()
862 if (SourceLine) in AslInitEnode()
864 Enode->SourceLine in AslInitEnode()
921 AslCommonError2(UINT8 Level,UINT16 MessageId,UINT32 LineNumber,UINT32 Column,char * SourceLine,char * Filename,char * ExtraMessage) AslCommonError2() argument
1003 AslLogNewError(UINT8 Level,UINT16 MessageId,UINT32 LineNumber,UINT32 LogicalLineNumber,UINT32 LogicalByteOffset,UINT32 Column,char * Filename,char * Message,char * SourceLine,ASL_ERROR_MSG * SubError) AslLogNewError() argument
[all...]
H A Dasltypes.h372 char *SourceLine; member
H A Daslcompiler.h541 char *SourceLine,
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DDisassembler.h481 // SourceLine and SourceLinesToDisplay structures are only used in the mixed
484 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);
520 // Add the provided SourceLine to the map of filenames-to-source-lines-seen.
522 SourceLine &line,
535 const SymbolContext &sc, SourceLine
[all...]
/freebsd-src/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-src/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-src/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_lin in PrintInstructions()
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCount.cpp85 std::to_string(Remark.Loc->SourceLine) + +":" + in tryInstructionCount()
140 std::to_string(Remark.Loc->SourceLine) + +":" + in tryAnnotationCount()
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/
H A DTextDiagnostic.h115 void emitSnippet(StringRef SourceLine, unsigned MaxLineNoDisplayWidth,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.h104 void addInlineSite(TypeIndex FuncId, StringRef FileName, uint32_t SourceLine);
/freebsd-src/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-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h413 Error visitKnownRecord(CVType &Record, UdtSourceLineRecord &SourceLine,
/freebsd-src/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()