Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.13.2
-
None
Description
When trying to learn which checks there are, it might be useful to just enable say all of modernize-* checks and see what it says about your software.
One of the check is changing the return type to a trailing return type. Now I might think: "Gee I don't want that it my code" and simply want to turn that one off. Doing that is a cumbersome action:
- Click project in the sidebar
- click clang tools (if not already selected)
- click the push button for your current checks
- choose clang-tidy checks
- Open the modernize-* tree
- open the use-* tree
- search for trailing-return-type and deselect it
- press OK
- press the debug tab in the sidebar
What I suggest is that you add a context menu to the output pane named disable name of check from future runs.
Attachments
For Gerrit Dashboard: QTCREATORBUG-24852 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321959,2 | ClangTools: Allow to disable a specific type of diagnostic | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
323968,3 | ClangTools: Finish "disable checks" logic | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |