]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework the analysis of the 'r' specifier. It turns out that we can't
authorrpaulo <rpaulo@FreeBSD.org>
Mon, 11 Oct 2010 17:18:23 +0000 (17:18 +0000)
committerrpaulo <rpaulo@FreeBSD.org>
Mon, 11 Oct 2010 17:18:23 +0000 (17:18 +0000)
commitf4f7191cd223adebacee3fad260ed60935be9cb9
tree02ab6d23d84ff5f8105b26c4eeb9ca9dc922aaae
parentb70c0f5aa8b46d37430be4bf0d5a770769e053f7
Rework the analysis of the 'r' specifier. It turns out that we can't
make it like xArg because they are different ('x' doesn't accept sign,
but 'r' does).
This fixes some warnings when building DDB with clang.

With help from: rdivacky
contrib/llvm/tools/clang/include/clang/Analysis/Analyses/FormatString.h
contrib/llvm/tools/clang/lib/Analysis/FormatString.cpp
contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp