[PATCH] D48522: [analyzer] Highlight c_str() call in DanglingInternalBuffer checker

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 23 16:07:14 PDT 2018


NoQ added inline comments.


================
Comment at: lib/StaticAnalyzer/Checkers/AllocationState.h:23-25
+std::unique_ptr<BugReporterVisitor>
+getDanglingBufferBRVisitor(SymbolRef Sym);
+
----------------
I think we should start commenting this stuff up. Like, "This function provides an additional visitor that augments the bug report with information relevant to memory errors caused by misuse of `AF_InternalBuffer` symbols".


https://reviews.llvm.org/D48522





More information about the cfe-commits mailing list