Warning, /sdk/clazy/docs/checks/README-heap-allocated-small-trivial-type.md is written in an unsupported language. File is not indexed.
0001 # heap-allocated-small-trivial-type 0002 0003 Warns when you're allocating small trivially copyable/destructible types on the heap. 0004 Example: 0005 ``` 0006 auto p = new QPoint(1, 1); 0007 /// ... p just used locally in the scope 0008 ``` 0009 0010 Unneeded memory allocations are costly. Make sure there's no change in behaviour 0011 before fixing these warnings. This check is not enabled by default since there's 0012 a certain amount of known false-positives.