Checks to make sure that stdlib's (std::)free is being appropriately
used for member variables.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaChecking.cpp | ||
---|---|---|
10110–10112 | const std::string&? | |
10123 | const std::string&? | |
clang/test/Sema/warn-free-nonheap-object.cpp | ||
17 | Can you also verify that ::free(ptr) does not diagnose? (since that would require CFG) |
const std::string&?