]> granicus.if.org Git - clang/commitdiff
Grrrr
authorDouglas Gregor <dgregor@apple.com>
Mon, 5 Apr 2010 21:47:48 +0000 (21:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 5 Apr 2010 21:47:48 +0000 (21:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100476 91177308-0d34-0410-b5e6-96231b3b80d8

examples/wpa/clang-wpa.cpp

index 82d62e309e72ca455e90fdebf8b09d5863ad0845..9ff796eecdb036c6d1d4b8a6d92b6f307c53189a 100644 (file)
@@ -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;