8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Wlifetime
1 parent 12ec9d6 commit c58f76dCopy full SHA for c58f76d
02-Use_the_Tools_Available.md
@@ -116,6 +116,7 @@ You should use as many compilers as you can for your platform(s). Each compiler
116
* `-Wuseless-cast` warn if you perform a cast to the same type
117
* `-Wdouble-promotion` warn if `float` is implicit promoted to `double`
118
* `-Wformat=2` warn on security issues around functions that format output (ie `printf`)
119
+ * `-Wlifetime` (clang only currently) shows object lifetime issues
120
121
Consider using `-Weverything` and disabling the few warnings you need to on Clang
122
0 commit comments