Revert "Fix regression in behavior of clang -x c++-header -fmodule-name=XXX"
authorIlya Biryukov <ibiryukov@google.com>
Fri, 2 Nov 2018 10:50:26 +0000 (10:50 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 2 Nov 2018 10:50:26 +0000 (10:50 +0000)
commitdfc56b43fadf5c4f84cdb8706f29ccf1ba68e5f1
tree0bd6f725005d90565af782110bcfd14491692502
parent7d1b77df57fb6a14d2ef15f0e9123650ccee0cc4
Revert "Fix regression in behavior of clang -x c++-header -fmodule-name=XXX"

This reverts commit r345803 and r345915 (a follow-up fix to r345803).

Reason: r345803 blocks our internal integrate because of the new
warnings showing up in too many places. The fix is actually correct,
we will reland it after figuring out how to integrate properly.

llvm-svn: 345963
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Lex/ModuleMap.cpp
clang/test/Driver/header-module.cpp
clang/test/Modules/strict-decluse-headers.cpp [deleted file]