Commit History

Author SHA1 Message Date
  Anna Zaks 0f38acee92 Address code review comments for Wstrncat-size warning (r161440). 13 years ago
  Hans Wennborg 58e1e54476 Remove ScanfArgType and bake that logic into ArgType. 13 years ago
  Hans Wennborg f3749f4168 Rename analyze_format_string::ArgTypeResult to ArgType 13 years ago
  David Blaikie 71f55f7717 Refactor checks for unevaluated contexts into a common utility function. 13 years ago
  Matt Beaumont-Gay 78a1b196cc Do not warn on correct use of the '%n' format specifier. 13 years ago
  Hans Wennborg cec9ce49dc Make -Wformat check the argument type for %n. 13 years ago
  Richard Trieu e1ecdc1681 Change APInt to APSInt in one instance. Also change a call to operator==() to 13 years ago
  Sylvestre Ledru bed28ac1d1 Fix a typo (the the => the) 13 years ago
  Jordan Rose ddcfbc9ad1 For varargs, diagnose passing ObjC objects by value like other non-POD types. 13 years ago
  Jordan Rose 48716663e4 Don't crash checking a format string if one of the arguments is invalid. 13 years ago
  David Blaikie 980343b9a1 Simplify float comparison checks by using early return. 13 years ago
  Simon Atanasyan fad0a32da8 MIPS: Range check __builtin_mips_wrdsp / __builtin_mips_rddsp arguments against the upper/lower values. 13 years ago
  Fariborz Jahanian bd2e27e848 objc-arc: warn when assigning retained object to 13 years ago
  Douglas Gregor 592a4230c6 When a builtin that requires a constant is given a type- or 13 years ago
  Richard Smith 831421f240 Unrevert r158887, reverted in r158949, along with a fix for the bug which 13 years ago
  Rafael Espindola 4e294eea2c Revert r158887. This fixes pr13168. 13 years ago
  David Blaikie 28a5f0cdfc PR13165: False positive when initializing member data pointers with NULL. 13 years ago
  Richard Smith 7d96f6106b If an object (such as a std::string) with an appropriate c_str() member function 13 years ago
  David Blaikie b26331b4ff Enable -Wnull-conversion for non-integral target types (eg: double). 13 years ago
  Eli Friedman 860a319e62 Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. 13 years ago
  Richard Smith df9ef1bc8c PR13099: Teach -Wformat about raw string literals, UTF-8 strings and Unicode escape sequences. 13 years ago
  Jordan Rose 50687314f8 Teach format string checking about compile-time CFString constants. 13 years ago
  Jordan Rose ee0259d308 Teach printf/scanf about enums with fixed underlying types. 13 years ago
  Anna Zaks 90c78328e7 Change wording of 'memcpy' type mismatch warning and remove fixit. 13 years ago
  Anna Zaks 6fcb3727e3 Add fixits for memory access warnings. 13 years ago
  Matt Beaumont-Gay abf145ab57 Use the argument location instead of the format string location when warning 13 years ago
  David Blaikie 9fb1ac520d Don't warn when NULL is used within a macro but its conversion is outside a macro. 13 years ago
  David Blaikie de7e7b857c Changing std::string to SmallString for r156826. 13 years ago
  David Blaikie be0ee875d8 Improve some of the conversion warnings to fire on conversion to bool. 13 years ago
  Matt Beaumont-Gay e2c60667d1 Merge branch 'format-string-braced-init' 13 years ago