svn commit: r207146 -
projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis
Roman Divacky
rdivacky at FreeBSD.org
Sat Apr 24 08:04:38 UTC 2010
Author: rdivacky
Date: Sat Apr 24 08:04:37 2010
New Revision: 207146
URL: http://svn.freebsd.org/changeset/base/207146
Log:
Add y printf specifier.
Requested by: kmacy
Modified:
projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp
Modified: projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp
==============================================================================
--- projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp Sat Apr 24 07:59:45 2010 (r207145)
+++ projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp Sat Apr 24 08:04:37 2010 (r207146)
@@ -372,6 +372,7 @@ static FormatSpecifierResult ParseFormat
// FreeBSD format extensions
case 'b': k = ConversionSpecifier::bArg; break; /* check for int and then char * */
case 'r': k = ConversionSpecifier::xArg; break;
+ case 'y': k = ConversionSpecifier::iArg; break;
case 'D': k = ConversionSpecifier::DArg; break; /* check for u_char * pointer and a char * string */
}
ConversionSpecifier CS(conversionPosition, k);
More information about the svn-src-projects
mailing list