Debian Codegraph @

docs/checks/README-heap-allocated-small-trivial-type.md

raw symbols SCIP
1 # heap-allocated-small-trivial-type
2
3 Warns when you're allocating small trivially copyable/destructible types on the heap.
4 Example:
5 ```
6 auto p = new QPoint(1, 1);
7 /// ... p just used locally in the scope
8 ```
9
10 Unneeded memory allocations are costly. Make sure there's no change in behaviour
11 before fixing these warnings. This check is not enabled by default since there's
12 a certain amount of known false-positives.