Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Side by Side Diff: third_party/libcxxabi/src/typeinfo.cpp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
12 namespace std
13 {
14
15 // type_info
16
17 type_info::~type_info()
18 {
19 }
20
21 // bad_cast
22
23 bad_cast::bad_cast() _NOEXCEPT
24 {
25 }
26
27 bad_cast::~bad_cast() _NOEXCEPT
28 {
29 }
30
31 const char*
32 bad_cast::what() const _NOEXCEPT
33 {
34 return "std::bad_cast";
35 }
36
37 // bad_typeid
38
39 bad_typeid::bad_typeid() _NOEXCEPT
40 {
41 }
42
43 bad_typeid::~bad_typeid() _NOEXCEPT
44 {
45 }
46
47 const char*
48 bad_typeid::what() const _NOEXCEPT
49 {
50 return "std::bad_typeid";
51 }
52
53 } // std
OLDNEW
« third_party/libcxx/libcxx.gyp ('K') | « third_party/libcxxabi/src/stdexcept.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698