about summary refs log tree commit diff homepage
path: root/runtime/Sanitizer/ubsan/ubsan_diag.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Sanitizer/ubsan/ubsan_diag.h')
-rw-r--r--runtime/Sanitizer/ubsan/ubsan_diag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/Sanitizer/ubsan/ubsan_diag.h b/runtime/Sanitizer/ubsan/ubsan_diag.h
index 71219ab7..4bb0404a 100644
--- a/runtime/Sanitizer/ubsan/ubsan_diag.h
+++ b/runtime/Sanitizer/ubsan/ubsan_diag.h
@@ -25,7 +25,7 @@ public:
   const char *getName() const { return Name; }
 };
 
-enum /*class*/ ErrorType {
+enum class ErrorType {
 #define UBSAN_CHECK(Name, SummaryKind, FSanitizeFlagName) Name,
 #include "ubsan_checks.inc"
 #undef UBSAN_CHECK