]> granicus.if.org Git - clang/commit
Fix for bug 38508 - Don't do PCH processing when only generating preprocessor output
authorErich Keane <erich.keane@intel.com>
Fri, 17 Aug 2018 13:43:39 +0000 (13:43 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 17 Aug 2018 13:43:39 +0000 (13:43 +0000)
commitcc56a9650522460610126a9162dc4c54e7d9315e
tree7725fd35164e60aa2e490db0edcdae175d60953c
parentfe170f961ef352eee1aeec5decee8111a7fc9f4e
Fix for bug 38508 - Don't do PCH processing when only generating preprocessor output

This clang-cl driver change removes the PCH options when we are only generating
preprocessed output. This is similar to the behavior of Y-.

Patch by: mikerice
Differential Revision: https://reviews.llvm.org/D50640

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340025 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/cl-pch.cpp
test/PCH/Inputs/pch-through-use3c.cpp [new file with mode: 0644]
test/PCH/Inputs/pch-through3c.h [new file with mode: 0644]
test/PCH/pch-through3c.cpp [new file with mode: 0644]