Clang Code Model with Qt
-
Hi! After updating
Qt Creator
I have noticed thatClang Code Model
has been enabled. It displays some warnings, for example:warning: '~Test' overrides a destructor but is not marked 'override' warning: default label in switch which covers all enumeration values
Is it better to fix it or disable
Clang Code Model
? Have anyone usedClang Code Model
? What's your point? Thanks. -
Hi,
Fix them. Always fix your warnings. As the old saying goes: a warning ignored today is a catastrophic segmentation fault tomorrow.
-
Hi,
Fix them. Always fix your warnings. As the old saying goes: a warning ignored today is a catastrophic segmentation fault tomorrow.
So you recommend to use
Clang Code Model
? Thanks. -
If you take a look at the compile output, you'll see the same or similar warnings during the build process. The code model allows you to cleanup your code without having to wait and take an intensive loop at the build output.
-
If you take a look at the compile output, you'll see the same or similar warnings during the build process. The code model allows you to cleanup your code without having to wait and take an intensive loop at the build output.
Ok. Thank you.