[modules] Produce an error if -cc1 wants to implicitly build a module and no
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jul 2015 18:07:47 +0000 (18:07 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jul 2015 18:07:47 +0000 (18:07 +0000)
commitd520a250b6525be399c732871cdacbfcc335bbc5
tree3c078b81efcb4b50d50befd15b0e8075bcc756ff
parentbd05101e67f975ef4a42585b732ee03d135645d2
[modules] Produce an error if -cc1 wants to implicitly build a module and no
module cache has been provided, rather than creating one in the current
directory.

llvm-svn: 242819
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Lex/HeaderSearch.cpp
clang/test/Modules/no-implicit-builds.cpp