Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stdlib_typeinfo.cpp « src « libcxxabi - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e5499628d130d186a8ed36c45d1d506221b203f (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
40
41
42
43
44
45
46
47
48
49
50
51
52
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include <typeinfo>

namespace std
{

// type_info

type_info::~type_info()
{
}

// bad_cast

bad_cast::bad_cast() noexcept
{
}

bad_cast::~bad_cast() noexcept
{
}

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

// bad_typeid

bad_typeid::bad_typeid() noexcept
{
}

bad_typeid::~bad_typeid() noexcept
{
}

const char*
bad_typeid::what() const noexcept
{
  return "std::bad_typeid";
}

}  // std