Add -Wmissing-variable-declarations to common warnings
This commit is contained in:
3 files changed
+3
-2
No files matched your search
@@ -33,7 +33,7 @@ struct foo {
|
||||
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
||||
#endif
|
||||
// Construct foo, but `foo::print` should not be run
|
||||
foo f;
|
||||
static foo f;
|
||||
|
||||
|
||||
#if defined(__clang__)
|
||||
|
||||
Reference in new issue
Block a user