summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-05-04 01:13:01 +0000
committerTed Kremenek <kremenek@apple.com>2013-05-04 01:13:01 +0000
commit6cf3c97c558ab43cc1dbd088b5f5812c927ead9d (patch)
treef4fc0d8cf300f16cb6cabf17944e8fb34862501e /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
parent74c0d388e8c1feaf08856a7ec0149f3d77891921 (diff)
downloadbcm5719-llvm-6cf3c97c558ab43cc1dbd088b5f5812c927ead9d.tar.gz
bcm5719-llvm-6cf3c97c558ab43cc1dbd088b5f5812c927ead9d.zip
[analyzer; alternate edges] prune edges whose end/begin locations have the same statement parents.
This change required some minor changes to LocationContextMap to have it map from PathPieces to LocationContexts instead of PathDiagnosticCallPieces to LocationContexts. These changes are in the other diagnostic generation logic as well, but are functionally equivalent. Interestingly, this optimize requires delaying "cleanUpLocation()" until later; possibly after all edges have been optimized. This is because we need PathDiagnosticLocations to refer to the semantic entity (e.g. a statement) as long as possible. Raw source locations tell us nothing about the semantic relationship between two locations in a path. llvm-svn: 181084
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud