summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/main.c
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-01-16 01:45:12 +0000
committerJulian Lettner <jlettner@apple.com>2019-01-16 01:45:12 +0000
commitac855d3ea9cb53f8c34422f3ce43ac41113f6b7f (patch)
tree44919548c9bdecd45b77cead70c5791cc29afdef /lldb/packages/Python/lldbsuite/test/python_api/section/main.c
parent6320efb4ed3827370811166b6b60e6631ac0ac6e (diff)
downloadbcm5719-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/section/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud