Warning, /sdk/clazy/docs/checks/README-wrong-qglobalstatic.md is written in an unsupported language. File is not indexed.
0001 # wrong-qglobalstatic 0002 0003 Finds `Q_GLOBAL_STATIC`s being used with trivial types. 0004 This is unnecessary and creates code bloat. 0005 0006 #### Example: 0007 0008 struct Trivial 0009 { 0010 int v; 0011 }; 0012 0013 Q_GLOBAL_STATIC(Trivial, t); // Wrong 0014 static Trivial t; // Correct