aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-20 00:27:26 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-20 00:27:26 +0000
commit206f49966f66ad7cbfe3d37c14fa7e6e7410f3be (patch)
tree360ee9d59ea7408a0aa758ffa637df1b30300c83 /lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
parent053214013990ad8ec096dafc64aa7c0ad2b05bc0 (diff)
[analyzer] Account for the "interesting values" hash table resizing.
RegionStoreManager::getInterestingValues() returns a pointer to a std::vector that lives inside a DenseMap, which is constructed on demand. However, constructing one such value can lead to constructing another value, which will invalidate the reference created earlier. Fixed by delaying the new entry creation until the function returns. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp')
0 files changed, 0 insertions, 0 deletions