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 | bf56fcdacdbc098ed0b5dec92248db8ca8679f26 (patch) | |
tree | 40177e02bb8c7479e797fef28aa40592ad49e2b2 /libcxxabi/.clang-format | |
parent | fe3f99fc870e1588a3129d3d262c216a5aec88ef (diff) |
[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
Diffstat (limited to 'libcxxabi/.clang-format')
0 files changed, 0 insertions, 0 deletions