[PATCH] D56295: [TSan] Use switches when dealing with enums

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 4 09:32:17 PST 2019


yln updated this revision to Diff 180262.
yln added a comment.

Add `UNREACHABLE("missing case");`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56295/new/

https://reviews.llvm.org/D56295

Files:
  lib/tsan/rtl/tsan_debugging.cc
  lib/tsan/rtl/tsan_report.cc
  lib/tsan/rtl/tsan_suppressions.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56295.180262.patch
Type: text/x-patch
Size: 8608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190104/343290cf/attachment.bin>


More information about the llvm-commits mailing list