[PATCH] D65182: [analyzer] WIP: Add fix-it hint support.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 01:25:48 PDT 2019


Szelethus added a comment.

Woah, nice! How does an `-analyzer-config fixits-as-warnings` option sound like for more readable tests?

  01 Obj obj6 = /**/; // expected-warning{{Value stored to 'obj6' during its initialization is never read}}
  02                  // expected-warning at -1{{FixIt: Remove range (<filename>:1:1, <filename>:1:16)}}


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65182/new/

https://reviews.llvm.org/D65182





More information about the cfe-commits mailing list