Add a new annotation "CHECK-FIX-DESCRIPTIONS" to lit test to
verify the fix description provided by checks.
Details
Details
- Reviewers
alexfh
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 32449 Build 32448: arc lint + arc unit
Event Timeline
clang-tools-extra/test/clang-tidy/check_clang_tidy.py | ||
---|---|---|
109 ↗ | (On Diff #195385) | Wait, how do "check descriptions" differ from notes? |
Comment Actions
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.