From: Chris Lattner Date: Sun, 26 Aug 2007 17:39:38 +0000 (+0000) Subject: Fix %p format checking, patch by Keith Bauer. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e9885dd9bd5c340f7952b124a2860b30271d82a;p=clang Fix %p format checking, patch by Keith Bauer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41454 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Sema/SemaChecking.cpp b/Sema/SemaChecking.cpp index d5445a17ee..e03507b796 100644 --- a/Sema/SemaChecking.cpp +++ b/Sema/SemaChecking.cpp @@ -308,7 +308,7 @@ Sema::CheckPrintfArguments(Expr *Fn, case 'C': case 'S': case 's': - case 'P': + case 'p': ++numConversions; CurrentState = state_OrdChr; break;