From: Shoaib Meenai Date: Thu, 30 Mar 2017 23:31:33 +0000 (+0000) Subject: [libc++abi] Delete config.h X-Git-Tag: llvmorg-5.0.0-rc1~8832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a40507574e7a0cb7f203581bf1359a715d76cf32;p=platform%2Fupstream%2Fllvm.git [libc++abi] Delete config.h Summary: It's now completely empty, so we can remove it entirely. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31502 llvm-svn: 299129 --- diff --git a/libcxxabi/src/config.h b/libcxxabi/src/config.h deleted file mode 100644 index c823552..0000000 --- a/libcxxabi/src/config.h +++ /dev/null @@ -1,17 +0,0 @@ -//===----------------------------- config.h -------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -// -// Defines macros used within the libc++abi project. -// -//===----------------------------------------------------------------------===// - - -#ifndef LIBCXXABI_CONFIG_H -#define LIBCXXABI_CONFIG_H - -#endif // LIBCXXABI_CONFIG_H diff --git a/libcxxabi/src/cxa_default_handlers.cpp b/libcxxabi/src/cxa_default_handlers.cpp index ffb6fe4..f2e36b4 100644 --- a/libcxxabi/src/cxa_default_handlers.cpp +++ b/libcxxabi/src/cxa_default_handlers.cpp @@ -14,7 +14,6 @@ #include #include #include "abort_message.h" -#include "config.h" // For __sync_swap #include "cxxabi.h" #include "cxa_handlers.hpp" #include "cxa_exception.hpp" diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index 56d86cb..0794444 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -11,7 +11,6 @@ // //===----------------------------------------------------------------------===// -#include "config.h" #include "cxxabi.h" #include // for std::terminate diff --git a/libcxxabi/src/cxa_exception_storage.cpp b/libcxxabi/src/cxa_exception_storage.cpp index 549d747..eaac217 100644 --- a/libcxxabi/src/cxa_exception_storage.cpp +++ b/libcxxabi/src/cxa_exception_storage.cpp @@ -13,7 +13,6 @@ #include "cxa_exception.hpp" -#include "config.h" #include <__threading_support> #if defined(_LIBCXXABI_HAS_NO_THREADS) diff --git a/libcxxabi/src/cxa_guard.cpp b/libcxxabi/src/cxa_guard.cpp index f225dbc..f4c2a18 100644 --- a/libcxxabi/src/cxa_guard.cpp +++ b/libcxxabi/src/cxa_guard.cpp @@ -10,7 +10,6 @@ #include "__cxxabi_config.h" #include "abort_message.h" -#include "config.h" #include <__threading_support> #include diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp index 99f90a2..2881a2a6 100644 --- a/libcxxabi/src/cxa_handlers.cpp +++ b/libcxxabi/src/cxa_handlers.cpp @@ -14,7 +14,6 @@ #include #include #include "abort_message.h" -#include "config.h" #include "cxxabi.h" #include "cxa_handlers.hpp" #include "cxa_exception.hpp" diff --git a/libcxxabi/src/cxa_personality.cpp b/libcxxabi/src/cxa_personality.cpp index 7213a03..7f857fa 100644 --- a/libcxxabi/src/cxa_personality.cpp +++ b/libcxxabi/src/cxa_personality.cpp @@ -18,7 +18,6 @@ #include #include "__cxxabi_config.h" -#include "config.h" #include "cxa_exception.hpp" #include "cxa_handlers.hpp" #include "private_typeinfo.h" diff --git a/libcxxabi/src/fallback_malloc.cpp b/libcxxabi/src/fallback_malloc.cpp index 2631c9b..336ad31 100644 --- a/libcxxabi/src/fallback_malloc.cpp +++ b/libcxxabi/src/fallback_malloc.cpp @@ -9,7 +9,6 @@ #include "fallback_malloc.h" -#include "config.h" #include <__threading_support> #include // for malloc, calloc, free diff --git a/libcxxabi/test/test_exception_storage.pass.cpp b/libcxxabi/test/test_exception_storage.pass.cpp index 6d0c035..49c9b5d 100644 --- a/libcxxabi/test/test_exception_storage.pass.cpp +++ b/libcxxabi/test/test_exception_storage.pass.cpp @@ -11,7 +11,6 @@ // This breaks this test when compiled in C++17. For now fix this by manually // re-enabling the STL functions. #define _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS -#include "../src/config.h" #include #include diff --git a/libcxxabi/test/test_guard.pass.cpp b/libcxxabi/test/test_guard.pass.cpp index ef86717..dc200cf 100644 --- a/libcxxabi/test/test_guard.pass.cpp +++ b/libcxxabi/test/test_guard.pass.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#include "../src/config.h" #include "cxxabi.h" #include