summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-11-26 05:51:54 +0000
committerCraig Topper <craig.topper@gmail.com>2015-11-26 05:51:54 +0000
commit5e35e669a58fad4f39ecea7289f5271fe89dafb9 (patch)
tree436a44fb8ba74c27b481db8c80f37cd3183dd8c0 /lldb/packages/Python/lldbsuite/test/expression_command
parenta52e2b22e68e427972f72188073b1c74a4758ebd (diff)
downloadbcm5719-llvm-5e35e669a58fad4f39ecea7289f5271fe89dafb9.tar.gz
bcm5719-llvm-5e35e669a58fad4f39ecea7289f5271fe89dafb9.zip
[Diagnostics] Call setMapping on the correct diagnostic states in a few places. GetCurDiagState() was being used when it shouldn't be.
I spotted this by inspection in the for loop that wasn't using its iterator and was just acting on the current state repeatedly. This appears to have been introduced as a copy and paste bug in r140763 over 4 years ago. I have no idea how to test this. I just went back to the original commit and tried to use the variables it was using before that. llvm-svn: 254134
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud