Changeset View
Changeset View
Standalone View
Standalone View
contrib/libcxxabi/src/stdlib_typeinfo.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
//===----------------------------- typeinfo.cpp ---------------------------===// | |||||
// | |||||
// 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 |