diff options
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index c4183a0e61..4856e7fd21 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -1062,6 +1062,11 @@ void Sema::CheckPrintfString(const StringLiteral *FExpr, CurrentState = state_OrdChr; break; + case 'm': + // FIXME: Warn in situations where this isn't supported! + CurrentState = state_OrdChr; + break; + // CHECK: Are we using "%n"? Issue a warning. case 'n': { ++numConversions; |