Searched refs:InMemoryPreamble (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h157 class InMemoryPreamble { class in class:clang::PrecompiledPreamble
168 PCHStorage(InMemoryPreamble Memory);
183 InMemoryPreamble &asMemory();
184 const InMemoryPreamble &asMemory() const;
192 llvm::AlignedCharArrayUnion<TempPCHFile, InMemoryPreamble> Storage = {};
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp260 PCHStorage Storage = StoreInMemory ? PCHStorage(InMemoryPreamble())
592 PrecompiledPreamble::PCHStorage::PCHStorage(InMemoryPreamble Memory)
594 new (&asMemory()) InMemoryPreamble(std::move(Memory));
614 new (&asMemory()) InMemoryPreamble(std::move(Other.asMemory()));
639 PrecompiledPreamble::InMemoryPreamble &
642 return *reinterpret_cast<InMemoryPreamble *>(Storage.buffer);
645 const PrecompiledPreamble::InMemoryPreamble &
658 asMemory().~InMemoryPreamble();

Completed in 68 milliseconds