[PATCH] D60776: [clang-tidy] Add test support for the fix description.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 24 06:21:25 PDT 2019


hokein added a comment.

Based on our last offline discussion, it is possible to use `CHECK-NOTES` to verify fix descriptions. However, `CHECK-NOTES` enforce sto verify all `note` diagnostic messages, some existing tests will be failed because they don't cover all notes (the number is not large, only ~60), I'll update the tests when updating the relative checks.

Finally (after every check provides fix descriptions), we may deprecate `CHECK-MESSAGES`, and in favor of `CHECK-NOTES`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60776





More information about the cfe-commits mailing list