1//===----------------------------- typeinfo.cpp ---------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include <typeinfo>
11
12namespace std
13{
14
15// type_info
16
17type_info::~type_info()
18{
19}
20
21// bad_cast
22
23bad_cast::bad_cast() _NOEXCEPT
24{
25}
26
27bad_cast::~bad_cast() _NOEXCEPT
28{
29}
30
31const char*
32bad_cast::what() const _NOEXCEPT
33{
34  return "std::bad_cast";
35}
36
37// bad_typeid
38
39bad_typeid::bad_typeid() _NOEXCEPT
40{
41}
42
43bad_typeid::~bad_typeid() _NOEXCEPT
44{
45}
46
47const char*
48bad_typeid::what() const _NOEXCEPT
49{
50  return "std::bad_typeid";
51}
52
53}  // std
54