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

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 15:12:22 PST 2019


yln marked an inline comment as done.
yln added inline comments.


================
Comment at: lib/tsan/rtl/tsan_suppressions.cc:96
-  else if (typ == ReportTypeErrnoInSignal)
-    return kSuppressionNone;
-  else if (typ == ReportTypeDeadlock)
----------------
Should this be `kSuppressionSignal`?


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D56295





More information about the llvm-commits mailing list