From: Louis Dionne Date: Tue, 30 Jun 2020 15:18:02 +0000 (-0400) Subject: [libc++abi] Remove empty source file cxa_unexpected.cpp X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9c795481e2e318a906cc7826aa0144aaaa8cd3dd;p=android-x86%2Fexternal-llvm-project.git [libc++abi] Remove empty source file cxa_unexpected.cpp --- diff --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt index d5251acdca3..42bec421d2b 100644 --- a/libcxxabi/src/CMakeLists.txt +++ b/libcxxabi/src/CMakeLists.txt @@ -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 index bbfa6684efa..00000000000 --- a/libcxxabi/src/cxa_unexpected.cpp +++ /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 -#include "cxxabi.h" -#include "cxa_exception.h" - -namespace __cxxabiv1 -{ - -extern "C" -{ - -} - -} // namespace __cxxabiv1 - diff --git a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn index 44712caf4d0..8d43581c366 100644 --- a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn @@ -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",