[PATCH] D75514: [Analyzer] Only add container note tags to the operations of te affected container

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 08:34:49 PST 2020


baloghadamsoftware updated this revision to Diff 247910.
baloghadamsoftware added a comment.

Alternative approach for debugging (instead of checking the source range): `clang_analyzer_express()` from `ExprInspection` marks its argument as interesting in the bug report. `DebugContainerModeling` propagates the interestingness from the symbol (begin or end symbol of the container) to the container itself.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75514/new/

https://reviews.llvm.org/D75514

Files:
  clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
  clang/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp
  clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  clang/test/Analysis/container-modeling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75514.247910.patch
Type: text/x-patch
Size: 5610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200303/0a2ed55d/attachment-0001.bin>


More information about the cfe-commits mailing list