]> granicus.if.org Git - clang/commit
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)
commit25e5d6e7070354450e6e42ae8d5743a9754340bd
tree8e93cbad73ce3292e86f9419bb72e915ff9c7dfc
parentdbb97986fbe4d3f7b1589000fc0d42ffa2ee663f
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264182 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/DependencyOutputOptions.h
include/clang/Frontend/Utils.h
lib/Frontend/CompilerInstance.cpp
lib/Frontend/HeaderIncludeGen.cpp
test/Driver/cl-pch-showincludes.cpp