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

Side by Side Diff: third_party/libc++abi/src/exception.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 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 //===---------------------------- exception.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 <exception>
11
12 #pragma GCC visibility push(default)
13
14 namespace std
15 {
16
17 // exception
18
19 exception::~exception() _NOEXCEPT
20 {
21 }
22
23 const char* exception::what() const _NOEXCEPT
24 {
25 return "std::exception";
26 }
27
28 // bad_exception
29
30 bad_exception::~bad_exception() _NOEXCEPT
31 {
32 }
33
34 const char* bad_exception::what() const _NOEXCEPT
35 {
36 return "std::bad_exception";
37 }
38
39 } // std
40
41 #pragma GCC visibility pop
OLDNEW
« no previous file with comments | « third_party/libc++abi/src/cxa_virtual.cpp ('k') | third_party/libc++abi/src/fallback_malloc.ipp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698