summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/Main.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-03-20 20:36:01 +0000
committerJordan Rose <jordan_rose@apple.com>2013-03-20 20:36:01 +0000
commit28c68a2d07f0b9b09091fcff14c540efe4d8dc6f (patch)
treeeb4b340b9ff26413e3ede250c3b1c65c7dab645b /llvm/lib/TableGen/Main.cpp
parent5d22fcb257176bcc8823b1cddf3104737e6a237f (diff)
downloadbcm5719-llvm-28c68a2d07f0b9b09091fcff14c540efe4d8dc6f.tar.gz
bcm5719-llvm-28c68a2d07f0b9b09091fcff14c540efe4d8dc6f.zip
[analyzer] Don't invalidate globals when there's no call involved.
This fixes some mistaken condition logic in RegionStore that caused global variables to be invalidated when /any/ region was invalidated, rather than only as part of opaque function calls. This was only being used by CStringChecker, and so users will now see that strcpy() and friends do not invalidate global variables. Also, add a test case we don't handle properly: explicitly-assigned global variables aren't being invalidated by opaque calls. This is being tracked by <rdar://problem/13464044>. llvm-svn: 177572
Diffstat (limited to 'llvm/lib/TableGen/Main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud