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

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 25 10:26:50 PDT 2018


rnkovacs updated this revision to Diff 152719.
rnkovacs added a comment.

Fixed the constness of `c_str()` in the test file.


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.152719.patch
Type: text/x-patch
Size: 8908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180625/fc462232/attachment-0001.bin>


More information about the cfe-commits mailing list