When building a header module, treat inputs as headers rather than
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 2 Nov 2018 00:24:40 +0000 (00:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 2 Nov 2018 00:24:40 +0000 (00:24 +0000)
commit9914c3a2bae84bb92e5269165c4d098140549b46
tree63c16ec748eadf7a022d9a395f54bc653c30842a
parent872bb74b0aa344224ce48699479e2b8d71fd05c1
When building a header module, treat inputs as headers rather than
source files.

This suppresses certain warnings (eg, '#include_next in main source
file').

llvm-svn: 345915
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/header-module.cpp