Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
[oota-llvm.git] / lib / ProfileData / SampleProf.cpp
index 8bd2249f57e7a913b4db074c3177c9ab9a8ee4d8..920c48a246400a0d1cf39232ecb237a1f92d8eee 100644 (file)
@@ -36,6 +36,8 @@ class SampleProfErrorCategoryType : public std::error_category {
       return "Truncated profile data";
     case sampleprof_error::malformed:
       return "Malformed profile data";
+    case sampleprof_error::unrecognized_format:
+      return "Unrecognized profile encoding format";
     }
     llvm_unreachable("A value of sampleprof_error has no message.");
   }