]> granicus.if.org Git - clang/commit
[analyzer] Store ValueDecl in DeclRegion
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 30 Jul 2018 18:57:13 +0000 (18:57 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 30 Jul 2018 18:57:13 +0000 (18:57 +0000)
commit55d0abdd355122c4d7a7c8e08e4818329aab5252
tree396359232ebf3a75eada9f717ed5e498d2371993
parent38025c8580e4dd5e40cce8e97ed245f72fb00e0f
[analyzer] Store ValueDecl in DeclRegion

All use cases of DeclRegion actually have ValueDecl there,
and getting the name from declaration comes in very handy.

Differential Revision: https://reviews.llvm.org/D49998

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338286 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h