From 53d771aafdbe5b919f264f53cba3788e2c4cffd2 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 24 Jan 2017 08:32:59 +0000 Subject: Import LLVM 4.0.0 rc1 including clang and lld to help the current development effort on OpenBSD/arm64. --- gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp') diff --git a/gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp b/gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp index aad1d8b25cd..55c10c076ee 100644 --- a/gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp +++ b/gnu/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp @@ -20,7 +20,7 @@ namespace { // deal with the Error value directly, rather than converting to error_code. class CodeViewErrorCategory : public std::error_category { public: - const char *name() const LLVM_NOEXCEPT override { return "llvm.codeview"; } + const char *name() const noexcept override { return "llvm.codeview"; } std::string message(int Condition) const override { switch (static_cast(Condition)) { @@ -33,6 +33,8 @@ public: return "The CodeView record is corrupted."; case cv_error_code::operation_unsupported: return "The requested operation is not supported."; + case cv_error_code::unknown_member_record: + return "The member record is of an unknown type."; } llvm_unreachable("Unrecognized cv_error_code"); } -- cgit v1.2.3-59-g8ed1b