Home
last modified time | relevance | path

Searched refs:line_iterator (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DLineIterator.h33 class line_iterator {
49 line_iterator() = default;
52 explicit line_iterator(const MemoryBufferRef &Buffer, bool SkipBlanks = true,
56 explicit line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks = true,
69 line_iterator &operator++() {
73 line_iterator operator++(int) {
74 line_iterator tmp(*this);
83 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) {
88 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) {
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DLineIterator.cpp34 line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
36 : line_iterator(Buffer.getMemBufferRef(), SkipBlanks, CommentMarker) {} in line_iterator()
38 line_iterator::line_iterator(const MemoryBufferRef &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
55 void line_iterator::advance() { in advance()
H A DYAMLTraits.cpp734 for (line_iterator Lines(*Buffer, false); !Lines.is_at_end(); ++Lines) { in blockScalarString()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp99 for (line_iterator LineIt(NewSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols()
121 for (line_iterator LineIt(OldSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSymbolRemappingReader.cpp29 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read()
39 // line_iterator only detects comments starting in column 1. in read()
H A DSampleProfReader.cpp318 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in readImpl()
456 line_iterator LineIt(Buffer, /*SkipBlanks=*/true, '#'); in hasFormat()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DReplayInlineAdvisor.cpp45 line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true); in ReplayInlineAdvisor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInternalize.cpp95 for (line_iterator I(*Buf, true), E; I != E; ++I) in LoadFile()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp130 llvm::line_iterator LI(*Buffer, false); in GetNthLineOfFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp228 for (line_iterator LI(File, /*SkipBlanks=*/false); !LI.is_at_eof(); in print()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp168 for (line_iterator I(MemoryBufferRef(Buf, "ELFStub")); !I.is_at_eof(); ++I) { in usesTriple()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h238 line_iterator Line;
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp1193 for (line_iterator I(Ref, /*SkipBlanks*/ false), E; I != E; ++I) { in runMRIScript()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp1093 for (line_iterator L(*SM.getMemoryBuffer(SM.getMainFileID()), false), E; in diagFromBlockStringDiag()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1001 for (line_iterator I(*Buf, false), E; I != E; ++I) in populateFileContent()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp570 for (line_iterator LineIt(*Remapper->File, /*SkipBlanks=*/true, '#'); in create()