Qt Creator comes with several Clang-derived static analysis tools. The advantage of these tools is that they are actually run while you are editing your code. Instead of waiting to complete your code, you can see the necessary corrections as you type.
The disadvantage is that because they are run while you are typing, they may be a couple of lines behind, flag things you are yet to get to, or they just slow down the system a little.
You can choose the tool(s) and strength from the Analyzer section of the Options menu:
The pull-down menu allows you to choose one of several different analysis tools and levels:
The list of options ...