diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-20 22:11:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-20 22:11:52 +0000 |
commit | 91398927287a19aef8c089d7682e3da0d5b236f2 (patch) | |
tree | e2d3a598e7424ebe9790fbea67c26fa3e6d39442 /clang/lib/Analysis/FormatString.cpp | |
parent | f3ed1bc8ac446cf5f92cb88003b3b8f3b2930bcc (diff) | |
download | bcm5719-llvm-91398927287a19aef8c089d7682e3da0d5b236f2.tar.gz bcm5719-llvm-91398927287a19aef8c089d7682e3da0d5b236f2.zip |
The 'l' length modifier makes sense with the scanlist conversion specifier.
llvm-svn: 148586
Diffstat (limited to 'clang/lib/Analysis/FormatString.cpp')
-rw-r--r-- | clang/lib/Analysis/FormatString.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/FormatString.cpp b/clang/lib/Analysis/FormatString.cpp index 207f77301b4..fb52742bb0a 100644 --- a/clang/lib/Analysis/FormatString.cpp +++ b/clang/lib/Analysis/FormatString.cpp @@ -531,6 +531,7 @@ bool FormatSpecifier::hasValidLengthModifier() const { case ConversionSpecifier::nArg: case ConversionSpecifier::cArg: case ConversionSpecifier::sArg: + case ConversionSpecifier::ScanListArg: return true; default: return false; |