diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 | 
| commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
| tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /lib/DebugInfo/CodeView/CodeViewError.cpp | |
| parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) | |
Notes
Diffstat (limited to 'lib/DebugInfo/CodeView/CodeViewError.cpp')
| -rw-r--r-- | lib/DebugInfo/CodeView/CodeViewError.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/DebugInfo/CodeView/CodeViewError.cpp b/lib/DebugInfo/CodeView/CodeViewError.cpp index aad1d8b25cd0..55c10c076eef 100644 --- a/lib/DebugInfo/CodeView/CodeViewError.cpp +++ b/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<cv_error_code>(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");    } | 
