[cfe-commits] r146326 - in /cfe/trunk: include/clang/Analysis/Analyses/FormatString.h lib/Analysis/ScanfFormatString.cpp lib/Sema/SemaChecking.cpp test/Analysis/taint-generic.c test/Analysis/taint-tester.c test/Sema/format-strings-fixit.c test/Se
kremenek at apple.com
Tue Dec 13 17:03:06 PST 2011
On Dec 13, 2011, at 7:09 AM, Hans Wennborg <hans at chromium.org> wrote:
> The trouble is that 'a' can mean two things in a scanf format string.
> If it is before 's', 'S' or '[', it is a length modifier (as a C90 GNU
> extensions), otherwise it is a conversion specifier (same as 'f').
> The lookahead is not to do a semantic check, it is to decide whether
> to parse the 'a' as a length modifier, or not.
Ah, makes sense. Can you include that information in a comment?
More information about the cfe-commits