Hans Wennborg
|
f4f0c6095d
Make printf warnings refer to wint_t and wchar_t by name
|
13 年之前 |
Hans Wennborg
|
b8ec3e35d2
Move definition of ConversionSpecifier::toString() to FormatString.cpp
|
13 年之前 |
Hans Wennborg
|
a792aff1c7
Make printf warnings refer to intmax_t et al. by name
|
13 年之前 |
Nick Lewycky
|
687b5df89d
Revert r145697 and dependent patch r145702. It added a dependency from
|
13 年之前 |
Hans Wennborg
|
5fdc1b993d
Make conversion specifier warning refer to typedef if possible.
|
13 年之前 |
Ted Kremenek
|
6ca4a9ae99
Tweak printf format string parsing to accept 'hh' conversion specifier to accept any char, not just signed char. Fixes <rdar://problem/10303638>.
|
14 年之前 |
David Blaikie
|
eb2d1f1c88
Removing a bunch of dead returns/breaks after llvm_unreachables.
|
14 年之前 |
David Blaikie
|
b219cfc4d7
Switch assert(0/false) llvm_unreachable.
|
14 年之前 |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 年之前 |
Ted Kremenek
|
1ad35bebcc
Revert r135147 and r135075. The consensus was that this wasn't the right thing to do.
|
14 年之前 |
Ted Kremenek
|
9dbe16eb80
Add extra sanity checking in FormatString::matchesType() that we are comparing integers to integers. This happens not to be an issue now, but the extra check helps future proof in case of future refactorings.
|
14 年之前 |
Ted Kremenek
|
826d5b4782
Reapply r135075, but modify format-strings.c and format-strings-fixit.c test cases to be more portable with an explicit target triple.
|
14 年之前 |
NAKAMURA Takumi
|
13d99bf2e9
Revert r135075, "format string checking: long and int have the same widths on 32-bit, so we shouldn't warn about using"
|
14 年之前 |
Ted Kremenek
|
8da9316c5a
format string checking: long and int have the same widths on 32-bit, so we shouldn't warn about using
|
14 年之前 |
Ted Kremenek
|
dc00d8158d
Re-relax conversion specifier checking for printf format strings and conversion specifiers. My recent change was a mistake.
|
14 年之前 |
Ted Kremenek
|
45eb7022ff
Fix inversion in argument type checking for format strings with conversion specifiers for character types.
|
14 年之前 |
Daniel Dunbar
|
d6a4d18f52
Revert r133024, "[format strings] correctly suggest correct type for '%@'
|
14 年之前 |
Ted Kremenek
|
84862f6a0b
[format strings] correctly suggest correct type for '%@' specifiers. Fixes <rdar://problem/9607158>.
|
14 年之前 |
Anders Carlsson
|
6242599844
Don't warn when matching %p to nullptr.
|
15 年之前 |
Ted Kremenek
|
9325eaf08f
Fix printf format string checking for '%lc' (which expects a wint_t or compatible argument). Fixes PR 7981.
|
15 年之前 |
Eli Friedman
|
a7e6845660
Detabify.
|
15 年之前 |
Michael J. Spencer
|
96827eb524
Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format"
|
15 年之前 |
Ted Kremenek
|
f762905bde
Hoist argument type checking into CheckFormatHandler. This is prep for scanf format
|
15 年之前 |
Ted Kremenek
|
a412a49916
Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier.
|
15 年之前 |
Ted Kremenek
|
826a3457f7
Add most of the boilerplate support for scanf format string checking. This includes
|
15 年之前 |