Revert r116605, a lot more were committed by mistake.

llvm-svn: 116606
This commit is contained in:
Argyrios Kyrtzidis
2010-10-15 18:51:34 +00:00
parent ffbba26285
commit dfe47dba37
4 changed files with 0 additions and 34 deletions

View File

@@ -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