reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/MemoryBuffer.h
  173     return const_cast<char *>(MemoryBuffer::getBufferEnd());
  235     return const_cast<char *>(MemoryBuffer::getBufferEnd());
lib/CodeGen/MIRParser/MIParser.cpp
  540   if (Loc >= Buffer.getBufferStart() && Loc <= Buffer.getBufferEnd()) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
  710   while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart))
  713   while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') {
  715     while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' &&
  727     while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart))
lib/IRReader/IRReader.cpp
   36                 (const unsigned char *)Buffer->getBufferEnd())) {
lib/ProfileData/InstrProfReader.cpp
  318   const char *End = DataBuffer->getBufferEnd();
  378   if (Start + ValueDataOffset > DataBuffer->getBufferEnd())
  456           ValueDataStart, (const unsigned char *)DataBuffer->getBufferEnd(),
  803   if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24)
lib/Support/CodeGenCoverage.cpp
   54   while (CurPtr != Buffer.getBufferEnd()) {
   59     if (CurPtr == Buffer.getBufferEnd())
   63     while (CurPtr != Buffer.getBufferEnd()) {
   64       if (std::distance(CurPtr, Buffer.getBufferEnd()) < 8)
lib/Support/CommandLine.cpp
 1052   ArrayRef<char> BufRef(MemBuf.getBufferStart(), MemBuf.getBufferEnd());
lib/Support/FileCheck.cpp
  903   for (const char *Ptr = MB.getBufferStart(), *End = MB.getBufferEnd();
lib/Support/FileUtilities.cpp
  204   const char *File1End = F1.getBufferEnd();
  205   const char *File2End = F2.getBufferEnd();
lib/Support/LineIterator.cpp
   43     assert(Buffer.getBufferEnd()[0] == '\0');
lib/Support/SourceMgr.cpp
   66         Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
   93   assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd());
  190     const char *BufEnd = CurMB->getBufferEnd();
tools/clang/lib/Basic/SourceManager.cpp
 1252   const unsigned char *End = (const unsigned char *)Buffer->getBufferEnd();
tools/clang/lib/Frontend/FrontendActions.cpp
  797     const char *end = Buffer->getBufferEnd();
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  275   if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r')
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  706   MainFileEnd = MainBuf->getBufferEnd();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  635   MainFileEnd = MainBuf->getBufferEnd();
tools/clang/lib/Lex/Lexer.cpp
  138             InputFile->getBufferEnd());
  161             FromFile->getBufferStart(), FromFile->getBufferEnd()) {}
tools/clang/lib/Lex/ModuleMap.cpp
 2992           Buffer->getBufferEnd());
tools/clang/lib/Lex/Preprocessor.cpp
  427   if (Position > Buffer->getBufferEnd())
  428     Position = Buffer->getBufferEnd();
  438   std::copy(Position, Buffer->getBufferEnd(), NewPos+1);
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  112   const char* FileEnd = Buf->getBufferEnd();
  231   const char* FileEnd = Buf->getBufferEnd();
  279   const char* FileEnd = Buf->getBufferEnd();
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1148                  BF->getBufferStart() + SLInfo.second, BF->getBufferEnd());
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  764   const char* FileEnd = Buf->getBufferEnd();
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp
  156               Buffer->getBufferStart(), BufferPos, Buffer->getBufferEnd());
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
 1064                  MB->getBufferStart(), MacroNameTokenPos, MB->getBufferEnd());
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
   47     Result.Contents.append(Buffer->getBufferStart(), Buffer->getBufferEnd());
tools/clang/tools/clang-import-test/clang-import-test.cpp
  109            LocData < Buffer->getBufferEnd());
  118                               LineEnd < Buffer->getBufferEnd();
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp
   59               Buffer->getBufferEnd());
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp
  156               Buffer->getBufferStart(), BufferPos, Buffer->getBufferEnd());
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  318   const char *BufferEnd = MemBuffer->getBufferEnd();
  343   const char *BufferEnd = MemBuffer->getBufferEnd();
tools/dsymutil/SymbolMap.cpp
  128                  MemBuf.getBufferEnd() - MemBuf.getBufferStart());
tools/llvm-cvtres/llvm-cvtres.cpp
  204   std::copy(OutputBuffer->getBufferStart(), OutputBuffer->getBufferEnd(),
tools/llvm-mt/llvm-mt.cpp
  155   std::copy(OutputBuffer->getBufferStart(), OutputBuffer->getBufferEnd(),
tools/llvm-objcopy/llvm-objcopy.cpp
  125     std::copy(Member.Buf->getBufferStart(), Member.Buf->getBufferEnd(),
tools/llvm-objdump/llvm-objdump.cpp
  591              *BufferEnd = Buffer->getBufferEnd();
tools/sancov/sancov.cpp
  252     readInts<uint64_t>(Buf->getBufferStart() + 8, Buf->getBufferEnd(),
  256     readInts<uint32_t>(Buf->getBufferStart() + 8, Buf->getBufferEnd(),
tools/sanstats/sanstats.cpp
  135   const char *Begin = MB->getBufferStart(), *End = MB->getBufferEnd();
unittests/Support/TarWriterTest.cpp
   59                            (const uint8_t *)MB->getBufferEnd());