OSDN Git Service

[libc++abi] Remove empty source file cxa_unexpected.cpp
authorLouis Dionne <ldionne@apple.com>
Tue, 30 Jun 2020 15:18:02 +0000 (11:18 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 30 Jun 2020 15:18:26 +0000 (11:18 -0400)
libcxxabi/src/CMakeLists.txt
libcxxabi/src/cxa_unexpected.cpp [deleted file]
llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn

index d5251ac..42bec42 100644 (file)
@@ -7,7 +7,6 @@ set(LIBCXXABI_SOURCES
   cxa_exception_storage.cpp
   cxa_guard.cpp
   cxa_handlers.cpp
-  cxa_unexpected.cpp
   cxa_vector.cpp
   cxa_virtual.cpp
   # C++ STL files
diff --git a/libcxxabi/src/cxa_unexpected.cpp b/libcxxabi/src/cxa_unexpected.cpp
deleted file mode 100644 (file)
index bbfa668..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-//===------------------------- cxa_unexpected.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 <exception>
-#include "cxxabi.h"
-#include "cxa_exception.h"
-
-namespace __cxxabiv1
-{
-
-extern "C"
-{
-
-}
-
-}  // namespace __cxxabiv1
-
index 44712ca..8d43581 100644 (file)
@@ -30,7 +30,6 @@ cxxabi_sources = [
   "cxa_exception_storage.cpp",
   "cxa_guard.cpp",
   "cxa_handlers.cpp",
-  "cxa_unexpected.cpp",
   "cxa_vector.cpp",
   "cxa_virtual.cpp",