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

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 23 13:24:12 PDT 2018


rnkovacs updated this revision to Diff 152604.
rnkovacs marked an inline comment as done.
rnkovacs added a comment.

Um, sorry, I totally forgot about that. Added your case to the tests.


https://reviews.llvm.org/D48522

Files:
  lib/StaticAnalyzer/Checkers/AllocationState.h
  lib/StaticAnalyzer/Checkers/DanglingInternalBufferChecker.cpp
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  test/Analysis/dangling-internal-buffer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48522.152604.patch
Type: text/x-patch
Size: 6988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180623/5de85f3c/attachment.bin>


More information about the cfe-commits mailing list