Revert r116605, a lot more were committed by mistake.
llvm-svn: 116606
This commit is contained in:
@@ -256,16 +256,6 @@ void Clang::AddPreprocessingOptions(const Driver &D,
|
||||
if (FoundPCH || FoundPTH) {
|
||||
if (IsFirstImplicitInclude) {
|
||||
A->claim();
|
||||
if (P.isDirectory()) {
|
||||
// Expect to find a precompiled header matching the current input type
|
||||
P.appendComponent(types::getTypeName(Inputs[0].getType()));
|
||||
if (!P.exists()) {
|
||||
D.Diag(clang::diag::warn_drv_pch_missing_language)
|
||||
<< A->getAsString(Args) << P.str()
|
||||
<< types::getTypeName(Inputs[0].getType());
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (UsePCH)
|
||||
CmdArgs.push_back("-include-pch");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user