Qt Creator 4.8.0 disable some clazy checks
-
wrote on 25 Dec 2018, 12:40 last edited by
Hi !
How to disable in creator some clazy checks, for example "non-pod-global-static" ?
Current level is "Level 1"
Ubuntu 16.04 -
Hi !
How to disable in creator some clazy checks, for example "non-pod-global-static" ?
Current level is "Level 1"
Ubuntu 16.04wrote on 26 Dec 2018, 10:02 last edited byI guess you mean the clang code model checks. They are explained in here
-
I guess you mean the clang code model checks. They are explained in here
-
@koahnig not clang, but clazy
yes, i can disable some cheks in "clang", but cant in "clazy"
wrote on 26 Dec 2018, 10:10 last edited byAhh. Was interpreting this as a typing error :D
-
wrote on 23 Jan 2022, 17:06 last edited by Tatsujin
Late as usual to the party, but I ran into this as well just now and there's still no good resources on the 'net that I could find.
I managed to disable checks by running Tools > C++ > Analyze Current File. This opens a "Clang-tidy and Clazy" panel at the bottom. In the check diagnostics that show up (after it has run the analysis), it's possible to right-click and select "Disable This Check". So far, this seems to have solved it.
This is in Qt Creator 6.0.1.
-