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
Showing
- include/clang/Frontend/DependencyOutputOptions.h 3 additions, 0 deletionsinclude/clang/Frontend/DependencyOutputOptions.h
- include/clang/Frontend/Utils.h 4 additions, 6 deletionsinclude/clang/Frontend/Utils.h
- lib/Frontend/CompilerInstance.cpp 4 additions, 4 deletionslib/Frontend/CompilerInstance.cpp
- lib/Frontend/HeaderIncludeGen.cpp 27 additions, 26 deletionslib/Frontend/HeaderIncludeGen.cpp
- test/Driver/cl-pch-showincludes.cpp 3 additions, 6 deletionstest/Driver/cl-pch-showincludes.cpp
Loading
Please register or sign in to comment