Commit History

Author SHA1 Message Date
  Hans Wennborg f4f0c6095d Make printf warnings refer to wint_t and wchar_t by name 13 years ago
  Hans Wennborg b8ec3e35d2 Move definition of ConversionSpecifier::toString() to FormatString.cpp 13 years ago
  Hans Wennborg 117348caf0 fix format specifier fixit for printf("%ld", "foo"); 13 years ago
  Hans Wennborg a792aff1c7 Make printf warnings refer to intmax_t et al. by name 13 years ago
  Nick Lewycky 687b5df89d Revert r145697 and dependent patch r145702. It added a dependency from 13 years ago
  Hans Wennborg 377cc6e3e8 Make r145697 actually work. 13 years ago
  Hans Wennborg 5fdc1b993d Make conversion specifier warning refer to typedef if possible. 13 years ago
  Hans Wennborg 29e97cb35f Teach format string analysis that "%zu" means size_t. 14 years ago
  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 years ago
  John McCall 2dde35bc62 More metaprogramming with builtin types. 14 years ago
  Hans Wennborg a7da215516 Suggest %zu for size_t args to printf. 14 years ago
  John McCall 0ddaeb9b03 Add a new placeholder type to represent "unbridged" 14 years ago
  Anton Korobeynikov aa4a99b4a6 Provide half floating point support as a storage only type. 14 years ago
  David Blaikie b219cfc4d7 Switch assert(0/false) llvm_unreachable. 14 years ago
  Chad Rosier 3060178ad9 Fix else style. No functionality change intended. 14 years ago
  Chris Lattner 5f9e272e63 remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 14 years ago
  Daniel Dunbar d6a4d18f52 Revert r133024, "[format strings] correctly suggest correct type for '%@' 14 years ago
  Ted Kremenek 84862f6a0b [format strings] correctly suggest correct type for '%@' specifiers. Fixes <rdar://problem/9607158>. 14 years ago
  Eli Friedman 06d88ec420 Don't print fixits for format specifiers in cases where the fixit does not actually fix the warning. PR8781. 14 years ago
  Ted Kremenek 1e713f50e9 When generating printf fixits, preserve the original formating for unsigned integers (e.g., 'x', 'o'). 14 years ago
  NAKAMURA Takumi dfbb02a16a Fix whitespace. 14 years ago
  NAKAMURA Takumi 0099530a22 7bit-ize. 14 years ago
  Ted Kremenek 65197b4b0c Add semantic checking that the "thousands grouping" 14 years ago
  Ted Kremenek bd18d4584a Add printf format string parsing support for ' 14 years ago
  Chris Lattner 3f59c975aa The -fshort-wchar option causes wchar_t to become unsigned, in addition to being 14 years ago
  Ted Kremenek 7966297a70 Fix range in printf warnings for invalid conversion specifiers. 14 years ago
  Anders Carlsson 2e6c19abcf The 'X' printf type has a valid alternative form. Fixes PR8641. 14 years ago
  Ted Kremenek 4d8ae4d57e Previously, the printf warnings would say your arguments type was 'int' when it was really a 'char' 15 years ago
  Ted Kremenek 9325eaf08f Fix printf format string checking for '%lc' (which expects a wint_t or compatible argument). Fixes PR 7981. 15 years ago
  Ted Kremenek a412a49916 Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier. 15 years ago