The docs URL was dangling, and the docs suggested that it has no fixits, but it actually had.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/docs/clang-tidy/checks/list.rst | ||
---|---|---|
116 | The problem with making this change manually in the list.rst is that the next time someone runs add_new_check.py, the change will get lost again unless someone reviews the diff carefully and reverts the unwanted change. These manual reversions continue to accumulate and the chances for error increase with each run of add_new_check.py. This is additionally complicated by the fact that the check name doesn't correspond algorithmically to the source file that implements the check, which is how add_new_check.py figures out whether or not a check implements fixits to add "Yes" for this column in the generated list.rst. Here are some options I can see (there may be others, discussion welcome):
We should also add comments to list.rst to indicate that the file is processed by a script. | |
116 | Also, sorry for bringing this up much later.. I noticed it because I'm testing some other changes to add_new_check.py and it was reverting the change made here manually. |
The problem with making this change manually in the list.rst is that the next time someone runs add_new_check.py, the change will get lost again unless someone reviews the diff carefully and reverts the unwanted change. These manual reversions continue to accumulate and the chances for error increase with each run of add_new_check.py.
This is additionally complicated by the fact that the check name doesn't correspond algorithmically to the source file that implements the check, which is how add_new_check.py figures out whether or not a check implements fixits to add "Yes" for this column in the generated list.rst.
Here are some options I can see (there may be others, discussion welcome):
We should also add comments to list.rst to indicate that the file is processed by a script.