Searched refs:MainFileBuffer (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang/include/clang/Frontend/ |
D | PrecompiledPreamble.h | 82 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, 107 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, 120 llvm::MemoryBuffer *MainFileBuffer) const; 127 llvm::MemoryBuffer *MainFileBuffer) const; 236 llvm::MemoryBuffer *MainFileBuffer) const;
|
/external/llvm-project/clang/lib/Frontend/ |
D | PrecompiledPreamble.cpp | 313 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, in Build() argument 341 std::vector<char> PreambleBytes(MainFileBuffer->getBufferStart(), in Build() 342 MainFileBuffer->getBufferStart() + in Build() 409 MainFileBuffer->getBuffer().slice(0, Bounds.Size), MainFilePath); in Build() 504 const llvm::MemoryBuffer *MainFileBuffer, in CanReuse() argument 509 Bounds.Size <= MainFileBuffer->getBufferSize() && in CanReuse() 523 MainFileBuffer->getBuffer().begin())) in CanReuse() 616 llvm::MemoryBuffer *MainFileBuffer) const { in AddImplicitPreamble() 618 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble() 623 llvm::MemoryBuffer *MainFileBuffer) const { in OverridePreamble() [all …]
|
D | ASTUnit.cpp | 1311 std::unique_ptr<llvm::MemoryBuffer> MainFileBuffer = in getMainBufferWithPrecompiledPreamble() local 1314 if (!MainFileBuffer) in getMainBufferWithPrecompiledPreamble() 1318 *PreambleInvocationIn.getLangOpts(), *MainFileBuffer, MaxLines); in getMainBufferWithPrecompiledPreamble() 1323 if (Preamble->CanReuse(PreambleInvocationIn, MainFileBuffer.get(), Bounds, in getMainBufferWithPrecompiledPreamble() 1335 return MainFileBuffer; in getMainBufferWithPrecompiledPreamble() 1380 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble() 1427 return MainFileBuffer; in getMainBufferWithPrecompiledPreamble()
|