clang-cl: Fix remaining bugs in interaction of /Yc and /FI /showIncludes.
authorNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 18:46:57 +0000 (18:46 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 18:46:57 +0000 (18:46 +0000)
commitf54146c1789544b7348823a3cc6f488009de630e
tree11a005f94cfb5f7bcbd49b60bee37218773809f2
parentbcd660a9085557c79fa55f2f7e873dc4286e98cd
clang-cl: Fix remaining bugs in interaction of /Yc and /FI /showIncludes.

Instead of putting the /Yc header into ExtraDeps, give DependencyOutputOptions
a dedicated field for /Yc mode, and let HeaderIncludesCallback hang on to the
full DependencyOutputOptions object, not just ExtraDeps.

Reverts parts of r263352 that are now no longer needed.

llvm-svn: 264182
clang/include/clang/Frontend/DependencyOutputOptions.h
clang/include/clang/Frontend/Utils.h
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/HeaderIncludeGen.cpp
clang/test/Driver/cl-pch-showincludes.cpp