Set PreprocessorOpts.GeneratePreamble=true in PrecompiledPreamble.
authorIlya Biryukov <ibiryukov@google.com>
Mon, 9 Oct 2017 16:52:12 +0000 (16:52 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Mon, 9 Oct 2017 16:52:12 +0000 (16:52 +0000)
commiteb1ec876b3edd7005606e9802973f69a045fe511
treeb2b216ab15e0299c3fe8e827d501b533075f5386
parent08e6ccbcf3349121bf7eb8b9abe6610abcd452dd
Set PreprocessorOpts.GeneratePreamble=true in PrecompiledPreamble.

Summary:
It was previsouly set only in ASTUnit, but it should be set for all client of
PrecompiledPreamble.

Reviewers: erikjv, bkramer, klimek

Reviewed By: bkramer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D38617

llvm-svn: 315212
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/PrecompiledPreamble.cpp