aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-05 21:47:48 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-05 21:47:48 +0000
commitcaff6ea81835ff0a1f5cc9cf8e6bad70db457806 (patch)
treef098b070de323adb951ee73e817e0811b48e0a44
parentf9b14a7af9329b384ae3beb29ccb2daac03680d3 (diff)
Grrrr
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100476 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--examples/wpa/clang-wpa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wpa/clang-wpa.cpp b/examples/wpa/clang-wpa.cpp
index 82d62e309e..9ff796eecd 100644
--- a/examples/wpa/clang-wpa.cpp
+++ b/examples/wpa/clang-wpa.cpp
@@ -40,7 +40,7 @@ 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,
- OwnedDiags(*Diags)));
+ OwnedDiag(*Diags)));
if (!AST)
return 1;