[cfe-commits] r100475 - /cfe/trunk/examples/wpa/clang-wpa.cpp
Douglas Gregor
dgregor at apple.com
Mon Apr 5 14:47:24 PDT 2010
Author: dgregor
Date: Mon Apr 5 16:47:24 2010
New Revision: 100475
URL: http://llvm.org/viewvc/llvm-project?rev=100475&view=rev
Log:
Try to de-bork build of WPA
Modified:
cfe/trunk/examples/wpa/clang-wpa.cpp
Modified: cfe/trunk/examples/wpa/clang-wpa.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/wpa/clang-wpa.cpp?rev=100475&r1=100474&r2=100475&view=diff
==============================================================================
--- cfe/trunk/examples/wpa/clang-wpa.cpp (original)
+++ cfe/trunk/examples/wpa/clang-wpa.cpp Mon Apr 5 16:47:24 2010
@@ -39,7 +39,8 @@
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;
More information about the cfe-commits
mailing list