HomePhabricator

Add most of the boilerplate support for scanf format string checking. This…

Authored by krememek on Jul 15 2010, 7:11 PM.

Description

Add most of the boilerplate support for scanf format string checking. This includes handling the parsing of scanf format strings and hooking the checking into Sema. Most of this checking logic piggybacks on what was already there for checking printf format strings, but the checking logic has been refactored to support both.

What is left to be done is to support argument type checking in format strings and of course
fix the usual tail of bugs that will follow.

llvm-svn: 108500

Details

Committed
krememekJul 15 2010, 7:11 PM
Parents
rG5932c3513894: Add builtin definition for scanf, including extending the builtin encoding to…
Branches
Unknown
Tags
Unknown