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

Side by Side Diff: third_party/libc++abi/src/cxa_virtual.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
« no previous file with comments | « third_party/libc++abi/src/cxa_vector.cpp ('k') | third_party/libc++abi/src/exception.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 //===-------------------------- cxa_virtual.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 "cxxabi.h"
11 #include "abort_message.h"
12
13 namespace __cxxabiv1
14 {
15
16 extern "C"
17 {
18
19 LIBCXXABI_NORETURN
20 void __cxa_pure_virtual(void) {
21 abort_message("Pure virtual function called!");
22 }
23
24 LIBCXXABI_NORETURN
25 void __cxa_deleted_virtual(void) {
26 abort_message("Deleted virtual function called!");
27 }
28
29 } // extern "C"
30
31 } // abi
OLDNEW
« no previous file with comments | « third_party/libc++abi/src/cxa_vector.cpp ('k') | third_party/libc++abi/src/exception.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698