Lines Matching refs:PCHStorage
336 PCHStorage Storage = StoreInMemory ? PCHStorage(InMemoryPreamble()) in Build()
337 : PCHStorage(std::move(*TempFile)); in Build()
484 case PCHStorage::Kind::Empty: in getSize()
488 case PCHStorage::Kind::InMemory: in getSize()
490 case PCHStorage::Kind::TempFile: { in getSize()
629 PCHStorage Storage, std::vector<char> PreambleBytes, in PrecompiledPreamble()
637 assert(this->Storage.getKind() != PCHStorage::Kind::Empty); in PrecompiledPreamble()
694 PrecompiledPreamble::PCHStorage::PCHStorage(TempPCHFile File) in PCHStorage() function in PrecompiledPreamble::PCHStorage
699 PrecompiledPreamble::PCHStorage::PCHStorage(InMemoryPreamble Memory) in PCHStorage() function in PrecompiledPreamble::PCHStorage
704 PrecompiledPreamble::PCHStorage::PCHStorage(PCHStorage &&Other) : PCHStorage() { in PCHStorage() function in PrecompiledPreamble::PCHStorage
708 PrecompiledPreamble::PCHStorage &PrecompiledPreamble::PCHStorage::
709 operator=(PCHStorage &&Other) { in operator =()
729 PrecompiledPreamble::PCHStorage::~PCHStorage() { destroy(); } in ~PCHStorage()
731 PrecompiledPreamble::PCHStorage::Kind
732 PrecompiledPreamble::PCHStorage::getKind() const { in getKind()
736 PrecompiledPreamble::TempPCHFile &PrecompiledPreamble::PCHStorage::asFile() { in asFile()
742 PrecompiledPreamble::PCHStorage::asFile() const { in asFile()
743 return const_cast<PCHStorage *>(this)->asFile(); in asFile()
747 PrecompiledPreamble::PCHStorage::asMemory() { in asMemory()
753 PrecompiledPreamble::PCHStorage::asMemory() const { in asMemory()
754 return const_cast<PCHStorage *>(this)->asMemory(); in asMemory()
757 void PrecompiledPreamble::PCHStorage::destroy() { in destroy()
770 void PrecompiledPreamble::PCHStorage::setEmpty() { in setEmpty()
821 const PCHStorage &Storage, PreprocessorOptions &PreprocessorOpts, in setupPreambleStorage()
823 if (Storage.getKind() == PCHStorage::Kind::TempFile) { in setupPreambleStorage()
845 assert(Storage.getKind() == PCHStorage::Kind::InMemory); in setupPreambleStorage()