Try to de-bork build of WPA

llvm-svn: 100475
This commit is contained in:
Douglas Gregor 2010-04-05 21:47:24 +00:00
parent dc406b8e92
commit 0228a9c76b
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ int main(int argc, char **argv) {
for (unsigned i = 0, e = InputFilenames.size(); i != e; ++i) {
const std::string &InFile = InputFilenames[i];
llvm::OwningPtr<ASTUnit> AST(ASTUnit::LoadFromPCHFile(InFile, *Diags));
llvm::OwningPtr<ASTUnit> AST(ASTUnit::LoadFromPCHFile(InFile,
OwnedDiags(*Diags)));
if (!AST)
return 1;