clang-cl: Add more tests for the interaction of /FI and /Yc /Yu.
Most things even work; see the included FIXMEs for things that need polishing. Also don't warn about unused flags for the `/Yuh2.h /FIh1.h /FIh2.h`. The common case is that the pch was built with `/Ych2.h /FIh1.h /FIh2.h`, so h1.h is in the PCH, and we shouldn't warn about /FIh1.h not having an effect. (If we wanted to get fancy, we could store the list of -include flags in the pch and then check that it matches later on.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264178 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Driver/Tools.cpp 4 additions, 2 deletionslib/Driver/Tools.cpp
- test/Driver/Inputs/header0.h 0 additions, 0 deletionstest/Driver/Inputs/header0.h
- test/Driver/Inputs/header4.h 0 additions, 0 deletionstest/Driver/Inputs/header4.h
- test/Driver/cl-pch-showincludes.cpp 29 additions, 0 deletionstest/Driver/cl-pch-showincludes.cpp
Loading
Please register or sign in to comment