summaryrefslogtreecommitdiff
path: root/lib/msan/msan_poisoning.cc
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
commitb15181368831966c0ec1824617a4c95853fd1b92 (patch)
treed86b2dfee6aa9d3a54d6d21aabb6bd7462b6669b /lib/msan/msan_poisoning.cc
parent724c5ea89bd4e3f27edf5751ac366369035e6d79 (diff)
downloadcompiler-rt-b15181368831966c0ec1824617a4c95853fd1b92.tar.gz
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@351288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_poisoning.cc')
0 files changed, 0 insertions, 0 deletions