Home | History | Annotate | Download | only in runtime
      1 // -*- C++ -*-
      2 //===----------------------------------------------------------------------===//
      3 //
      4 //                     The LLVM Compiler Infrastructure
      5 //
      6 // This file is dual licensed under the MIT and the University of Illinois Open
      7 // Source Licenses. See LICENSE.TXT for details.
      8 //
      9 //===----------------------------------------------------------------------===//
     10 
     11 #ifndef LIBCXXRT
     12 #error this header may only be used when targeting libcxxrt
     13 #endif
     14 
     15 namespace std {
     16 
     17 bad_exception::~bad_exception() _NOEXCEPT
     18 {
     19 }
     20 
     21 const char* bad_exception::what() const _NOEXCEPT
     22 {
     23   return "std::bad_exception";
     24 }
     25 
     26 } // namespace std
     27