summaryrefslogtreecommitdiffstats
path: root/libcxx/src/typeinfo.cpp
blob: 931855b36651255637efe8d7086e5f40e0cd8e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//===------------------------- typeinfo.cpp -------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <stdlib.h>

#include "typeinfo"

std::bad_cast::bad_cast() throw()
{
}

std::bad_cast::~bad_cast() throw()
{
}

const char*
std::bad_cast::what() const throw()
{
  return "std::bad_cast";
}

std::bad_typeid::bad_typeid() throw()
{
}

std::bad_typeid::~bad_typeid() throw()
{
}

const char*
std::bad_typeid::what() const throw()
{
  return "std::bad_typeid";
}
OpenPOWER on IntegriCloud