[PATCH] D12767: [Static Analyzer] Properly clean up the dynamic type information for dead regions.

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 09:19:27 PDT 2015


xazax.hun created this revision.
xazax.hun added reviewers: zaks.anna, dcoughlin, jordan_rose, krememek.
xazax.hun added a subscriber: cfe-commits.

This patch is intended to clean up the dynamic type information for regions that are dead. The behavior should not change.

In the a future patch it might be beneficial to factor out getDynamicTypeInfo and setDynamicTypeInfo from program state into free functions. This way the API of ProgramState could remain minimal.

http://reviews.llvm.org/D12767

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
  lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  lib/StaticAnalyzer/Core/ProgramState.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12767.34453.patch
Type: text/x-patch
Size: 4798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150910/4aeef8b0/attachment.bin>


More information about the cfe-commits mailing list