Checks to make sure that stdlib's (std::)free is being appropriately
used for member variables.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D90269
adds -Wfree-nonheap-object member var checks ClosedPublic Authored by cjdb on Oct 27 2020, 2:59 PM.
Details Summary Checks to make sure that stdlib's (std::)free is being appropriately
Diff Detail Event Timelinecjdb marked 3 inline comments as done. This revision is now accepted and ready to land.Oct 29 2020, 2:13 PM Closed by commit rGba18bc4925d8: [Sema] adds -Wfree-nonheap-object member var checks (authored by cjdb, committed by george.burgess.iv). · Explain WhyNov 2 2020, 11:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 301106 clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/warn-free-nonheap-object.c
clang/test/Sema/warn-free-nonheap-object.cpp
|
const std::string&?