diff options
author | Julian Lettner <jlettner@apple.com> | 2019-01-16 01:45:12 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-01-16 01:45:12 +0000 |
commit | ac855d3ea9cb53f8c34422f3ce43ac41113f6b7f (patch) | |
tree | 44919548c9bdecd45b77cead70c5791cc29afdef /lldb/packages/Python/lldbsuite/test/python_api/default-constructor | |
parent | 6320efb4ed3827370811166b6b60e6631ac0ac6e (diff) | |
download | bcm5719-llvm-ac855d3ea9cb53f8c34422f3ce43ac41113f6b7f.tar.gz bcm5719-llvm-ac855d3ea9cb53f8c34422f3ce43ac41113f6b7f.zip |
[TSan] Use switches when dealing with enums
Summary:
Small refactoring: replace some if-else cascades with switches so that the compiler warns us about missing cases.
Maybe found a small bug?
Reviewers: dcoughlin, kubamracek, dvyukov, delcypher, jfb
Reviewed By: dvyukov
Subscribers: llvm-commits, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D56295
llvm-svn: 351288
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions