Enable chained precompiled headers for use with precompiled preambles
llvm-svn: 115260
This commit is contained in:
parent
eb114da506
commit
9e136b544d
|
@ -1158,8 +1158,6 @@ llvm::MemoryBuffer *ASTUnit::getMainBufferWithPrecompiledPreamble(
|
|||
|
||||
// Tell the compiler invocation to generate a temporary precompiled header.
|
||||
FrontendOpts.ProgramAction = frontend::GeneratePCH;
|
||||
// FIXME: Set ChainedPCH unconditionally, once it is ready.
|
||||
if (::getenv("LIBCLANG_CHAINING"))
|
||||
FrontendOpts.ChainedPCH = true;
|
||||
// FIXME: Generate the precompiled header into memory?
|
||||
FrontendOpts.OutputFile = PreamblePCHPath;
|
||||
|
|
Loading…
Reference in New Issue