diff options
author | Anna Zaks <ganna@apple.com> | 2012-10-30 04:17:40 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-10-30 04:17:40 +0000 |
commit | 360b29c52a4c10f9d4c031d84d962ed2a4d58263 (patch) | |
tree | bc3dde4ef8284e3f1bc12e11d56b3e112e17291e /lib/CodeGen/ModuleBuilder.cpp | |
parent | ac150f2619efcadbf23acd6e86695b5412723eb1 (diff) |
[analyzer] Fix a bug in REGISTER_MAP_WITH_PROGRAMSTATE
The ImmutableMap should not be the key into the GDM map as there could
be several entries with the same map type. Thanks, Jordan.
This complicates the usage of the macro a bit. When we want to retrieve
the whole map, we need to use another name. Currently, I set it to be
Name ## Ty as in "type of the map we are storing in the ProgramState".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions