Home
last modified time | relevance | path

Searched refs:LineNo (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp124 unsigned LineNo) const { in getPointerForLineNumberSpecialized()
129 if (LineNo != 0) in getPointerForLineNumberSpecialized()
130 --LineNo; in getPointerForLineNumberSpecialized()
136 if (LineNo == 0) in getPointerForLineNumberSpecialized()
138 if (LineNo > Offsets.size()) in getPointerForLineNumberSpecialized()
140 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized()
188 unsigned LineNo = SB.getLineNumber(Ptr); in getLineAndColumn() local
225 const char *Ptr = SB.getPointerForLineNumber(LineNo); in FindLocForLineAndColumn()
489 if (LineNo != -1) { in print()
490 S << ':' << LineNo; in print()
[all …]
H A DSpecialCaseList.cpp133 unsigned LineNo = 1; in parse() local
136 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
145 Error = (Twine("malformed section header on line ") + Twine(LineNo) + in parse()
169 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" + in parse()
182 if (!M->insert(std::string(Section), LineNo, REError)) { in parse()
193 if (!Entry.insert(std::move(Regexp), LineNo, REError)) { in parse()
194 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" + in parse()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h254 unsigned LineNo, DIScope *Context,
283 DIFile *File, unsigned LineNo,
303 DIFile *File, unsigned LineNo,
321 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
336 DIFile *File, unsigned LineNo,
552 unsigned LineNo, uint64_t SizeInBits,
683 DIFile *File, unsigned LineNo, DIType *Ty,
727 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine,
754 DIFile *File, unsigned LineNo, DISubroutineType *Ty,
770 unsigned LineNo);
[all …]
H A DDebugInfoMetadata.h2302 unsigned LineNo; variable
2308 LineNo(LineNo), IsDecl(IsDecl) {} in DIModule()
2341 APINotesFile, LineNo, IsDecl))
2348 APINotesFile, LineNo, IsDecl))
2357 unsigned getLineNo() const { return LineNo; } in getLineNo()
2992 unsigned LineNo;
3000 Ops), LineNo(LineNo) {}
3012 unsigned LineNo,
3023 DIFile *File, unsigned LineNo),
3024 (Scope, Decl, Name, File, LineNo))
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h64 IndexError(index_error_code C) : Code(C), LineNo(0) {} in IndexError()
65 IndexError(index_error_code C, std::string FileName, int LineNo = 0)
66 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {} in Code()
75 int getLineNum() const { return LineNo; } in getLineNum()
83 int LineNo; variable
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h70 const char *getPointerForLineNumber(unsigned LineNo) const;
72 const char *getPointerForLineNumberSpecialized(unsigned LineNo) const;
182 SMLoc FindLocForLineAndColumn(unsigned BufferID, unsigned LineNo,
255 int LineNo = 0; variable
267 : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} in SMDiagnostic()
278 int getLineNo() const { return LineNo; } in getLineNo()
/freebsd-13.1/lib/libc/gen/
H A Dfstab.c53 static int LineNo = 0; variable
124 ++LineNo; in fstabscan()
259 LineNo = 0; in setfsent()
269 LineNo = 0; in setfsent()
297 sprintf(num, "%d: ", LineNo); in error()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp809 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() local
821 OS << ':' << LineNo; in emitDiagnosticLoc()
823 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc()
977 unsigned LineNo, FileID FID, in highlightRange() argument
988 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange()
992 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange()
997 if (StartLineNo == LineNo) { in highlightRange()
1004 if (EndLineNo == LineNo) { in highlightRange()
1059 unsigned LineNo, in buildFixItInsertionLine() argument
1175 for (unsigned LineNo = Lines.first; LineNo != Lines.second + 1; ++LineNo) { in emitSnippetAndCaret() local
[all …]
H A DPrintPreprocessedOutput.cpp162 bool MoveToLine(unsigned LineNo);
187 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument
194 OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
198 OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
217 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { in MoveToLine() argument
220 if (LineNo-CurLine <= 8) { in MoveToLine()
221 if (LineNo-CurLine == 1) in MoveToLine()
223 else if (LineNo == CurLine) in MoveToLine()
227 OS.write(NewLines, LineNo-CurLine); in MoveToLine()
231 WriteLineInfo(LineNo, nullptr, 0); in MoveToLine()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManagerInternals.h37 unsigned LineNo; member
57 E.LineNo = Line; in get()
111 unsigned LineNo, int FilenameID,
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp321 DIFile *File, unsigned LineNo, in createTypedef() argument
534 DIFile *File, unsigned LineNo, in createSetType() argument
747 File, LineNo, Ty, ArgNo, Flags, AlignInBits); in createLocalVariable()
774 File, LineNo, Ty, AlwaysPreserve, Flags, in createParameterVariable()
780 unsigned LineNo, bool AlwaysPreserve) { in createLabel() argument
785 File, LineNo); in createLabel()
817 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createFunction() argument
836 unsigned LineNo, DISubroutineType *Ty, unsigned ScopeLine, in createTempFunctionFwdDecl() argument
862 LinkageName, F, LineNo, Ty, LineNo, VTableHolder, VIndex, ThisAdjustment, in createMethod()
874 unsigned LineNo) { in createCommonBlock() argument
[all …]
H A DDebugInfo.cpp964 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, in LLVMDIBuilderCreateFunction() argument
1236 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCIVar() argument
1241 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1250 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCProperty() argument
1256 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1270 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateTypedef() argument
1447 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression() argument
1451 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1497 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl() argument
1554 LineNo, unwrap<DIType>(Ty), AlwaysPreserve, in LLVMDIBuilderCreateAutoVariable()
[all …]
H A DLLVMContextImpl.h866 unsigned LineNo;
869 Metadata *File, unsigned LineNo)
870 : Scope(Scope), Decl(Decl), Name(Name), File(File), LineNo(LineNo) {}
873 File(N->getRawFile()), LineNo(N->getLineNo()) {}
878 LineNo == RHS->getLineNo();
882 return hash_combine(Scope, Decl, Name, File, LineNo);
893 unsigned LineNo;
898 MDString *APINotesFile, unsigned LineNo, bool IsDecl)
901 APINotesFile(APINotesFile), LineNo(LineNo), IsDecl(IsDecl) {}
906 APINotesFile(N->getRawAPINotesFile()), LineNo(N->getLineNo()),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h173 int64_t LineNo; member
175 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef()
211 virtual void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) = 0;
H A DSourceCoverageViewHTML.cpp501 unsigned LineNo = L.LineNo; in renderLine() local
574 errs() << "Highlighted line " << LineNo << ", " << Range.first << " -> "; in renderLine()
629 unsigned LineNo) { in renderLineNumberColumn() argument
630 std::string LineNoStr = utostr(uint64_t(LineNo)); in renderLineNumberColumn()
H A DSourceCoverageViewText.cpp101 unsigned LineNumber = L.LineNo; in renderLine()
163 unsigned LineNo) { in renderLineNumberColumn() argument
166 BufferOS << LineNo; in renderLineNumberColumn()
H A DSourceCoverageViewText.h71 void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) override;
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp209 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() argument
214 OS << "<tr class=\"codeline\" data-linenumber=\"" << LineNo << "\">" in AddLineNumber()
215 << "<td class=\"num\" id=\"LN" << LineNo << "\">" << LineNo in AddLineNumber()
237 unsigned LineNo = 0; in AddLineNumbers() local
242 ++LineNo; in AddLineNumbers()
263 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos); in AddLineNumbers()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h340 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
747 size_t NameLen, LLVMMetadataRef File, unsigned LineNo,
805 LLVMMetadataRef File, unsigned LineNo,
827 LLVMMetadataRef File, unsigned LineNo,
884 LLVMMetadataRef File, unsigned LineNo,
1125 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit,
1217 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit,
1297 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
1315 size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp97 unsigned LineNo = DIL->getLine(); in runOnMachineFunction() local
98 if (LineNo == 0) in runOnMachineFunction()
101 LocationDiscriminator LD{DIL->getFilename(), LineNo, Discriminator}; in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp135 int LineNo = 0; in ParseDictionaryFile() local
138 LineNo++; in ParseDictionaryFile()
146 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp388 unsigned LineNo = 0; in ParseMicrosoftAsmStatement() local
405 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second); in ParseMicrosoftAsmStatement()
433 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second); in ParseMicrosoftAsmStatement()
441 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) { in ParseMicrosoftAsmStatement()
456 LineNo = SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second); in ParseMicrosoftAsmStatement()
462 LineNo = SrcMgr.getLineNumber(FID, ExpLoc.second); in ParseMicrosoftAsmStatement()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp205 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, in AddLineNote() argument
234 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
272 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument
296 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
1435 unsigned LineNo = Pos-SourceLineCacheStart; in getLineNumber() local
1440 LastLineNoResult = LineNo; in getLineNumber()
1441 return LineNo; in getLineNumber()
1543 unsigned LineNo = getLineNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local
1572 LineNo = Entry->LineNo + (LineNo-MarkerLineNo-1); in getPresumedLoc()
1584 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp161 unsigned LineNo = 1; in parseCrossTUIndex() local
177 index_error_code::multiple_definitions, IndexPath.str(), LineNo); in parseCrossTUIndex()
180 index_error_code::invalid_index_format, IndexPath.str(), LineNo); in parseCrossTUIndex()
181 ++LineNo; in parseCrossTUIndex()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizer.h27 int LineNo = 0; member

12