| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 299 const char *LineEnd = Loc.getPointer(); in GetMessage() local 301 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage() 302 ++LineEnd; in GetMessage() 303 LineStr = StringRef(LineStart, LineEnd - LineStart); in GetMessage() 312 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 318 if (R.End.getPointer() > LineEnd) in GetMessage() 319 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage() 396 const char *LineEnd = SourceLine.end(); in buildFixItLine() local 408 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine() 449 if (R.End.getPointer() >= LineEnd) in buildFixItLine() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 243 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 248 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion() 250 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 255 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion() 259 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion() 264 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion() 266 LineEnd, ColumnEnd, CodeRegion); in makeRegion() 271 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeExpansion() 273 ColumnStart, LineEnd, ColumnEnd, in makeExpansion() 279 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.cpp | 23 DWORD LineEnd = 0; in getLineNumberEnd() local 24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 118 const char *LineEnd = nullptr; in PrintSourceForLocation() local 120 for (LineEnd = LineBegin; *LineEnd != '\n' && *LineEnd != '\r' && in PrintSourceForLocation() 121 LineEnd < Buffer.getBufferEnd(); in PrintSourceForLocation() 122 ++LineEnd) in PrintSourceForLocation() 125 llvm::StringRef LineString(LineBegin, LineEnd - LineBegin); in PrintSourceForLocation()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyCompilandDumper.cpp | 77 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local 84 if (LineStart != LineEnd) in start() 85 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 172 unsigned LineEnd; member 181 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion() 191 return (LineStart < LineEnd) || in isInSourceOrder() 192 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder() 354 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange() 355 SR.LineEnd--; in adjustSkippedRange() 376 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions() 400 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions() 405 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 446 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 741 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local 742 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() 743 *LineEnd != '\n') in checkAllRulesInBuffer() 744 ++LineEnd; in checkAllRulesInBuffer() 746 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 762 LineStart = LineEnd; in checkAllRulesInBuffer()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ImportedFunctionsInliningStatistics.cpp | 86 bool LineEnd = true) { in getStatString() argument 94 if (LineEnd) in getStatString()
|
| /openbsd-src/gnu/llvm/clang/lib/Format/ |
| H A D | SortJavaScriptImports.cpp | 221 FormatToken *LineEnd; member in clang::format::JavaScriptImportSorter 238 if (!Current || Current == LineEnd->Next) { in nextToken() 374 LineEnd = Line->Last; in parseModuleReferences() 419 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1189 const char *LineEnd = LineStart; in emitSnippetAndCaret() local 1190 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret() 1191 ++LineEnd; in emitSnippetAndCaret() 1195 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret() 1199 StringRef Line(LineStart, LineEnd - LineStart); in emitSnippetAndCaret()
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 243 assert(I->LineEnd >= I->LineStart); in write() 244 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
|
| H A D | CoverageMapping.cpp | 690 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 86 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion() 94 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
|
| H A D | CodeCoverage.cpp | 419 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 904 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local 906 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece() 907 ++LineEnd; in HandlePiece() 1083 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCCodeView.cpp | 333 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local 336 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction() 385 OS.emitLabel(LineEnd); in emitLineTableForFunction()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 403 const uint64_t LineEnd = in dumpDebugLines() local 405 while (Offset < LineEnd) { in dumpDebugLines()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1209 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local 1210 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber() 1215 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
|
| /openbsd-src/gnu/llvm/llvm/docs/TableGen/ |
| H A D | ProgRef.rst | 1501 LineEnd: newline | return | EOF 1504 BCPLComment: "//" ... `LineEnd` 1510 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1513 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1515 : "#else" (`WhiteSpaceOrAnyComment`)* `LineEnd` 1517 : "#endif" (`WhiteSpaceOrAnyComment`)* `LineEnd`
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ |
| H A D | Driver.cpp | 1522 size_t LineEnd = Data.find_first_of("\n", ParentProcPos); in getCrashDiagnosticFile() local 1523 if (LineEnd == StringRef::npos) in getCrashDiagnosticFile() 1525 StringRef ParentProcess = Data.slice(ParentProcPos+15, LineEnd).trim(); in getCrashDiagnosticFile()
|