libcxxabi: Rename .hpp files to .h
authorNico Weber <nicolasweber@gmx.de>
Mon, 12 Aug 2019 19:11:23 +0000 (19:11 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 12 Aug 2019 19:11:23 +0000 (19:11 +0000)
LLVM uses .h as its extension for header files.

Differential Revision: https://reviews.llvm.org/D65981

llvm-svn: 368604

16 files changed:
libcxxabi/src/cxa_default_handlers.cpp
libcxxabi/src/cxa_exception.cpp
libcxxabi/src/cxa_exception.h [moved from libcxxabi/src/cxa_exception.hpp with 98% similarity]
libcxxabi/src/cxa_exception_storage.cpp
libcxxabi/src/cxa_handlers.cpp
libcxxabi/src/cxa_handlers.h [moved from libcxxabi/src/cxa_handlers.hpp with 95% similarity]
libcxxabi/src/cxa_noexception.cpp
libcxxabi/src/cxa_personality.cpp
libcxxabi/src/cxa_unexpected.cpp
libcxxabi/test/dynamic_cast14.pass.cpp
libcxxabi/test/dynamic_cast3.pass.cpp
libcxxabi/test/dynamic_cast5.pass.cpp
libcxxabi/test/dynamic_cast_stress.pass.cpp
libcxxabi/test/support/timer.h [moved from libcxxabi/test/support/timer.hpp with 100% similarity]
libcxxabi/test/test_demangle.pass.cpp
libcxxabi/test/test_exception_storage.pass.cpp

index 8cacb35..91a63f5 100644 (file)
@@ -14,8 +14,8 @@
 #include <cstdlib>
 #include "abort_message.h"
 #include "cxxabi.h"
-#include "cxa_handlers.hpp"
-#include "cxa_exception.hpp"
+#include "cxa_handlers.h"
+#include "cxa_exception.h"
 #include "private_typeinfo.h"
 #include "include/atomic_support.h"
 
index 27f0403..688ba1e 100644 (file)
@@ -14,8 +14,8 @@
 
 #include <exception>        // for std::terminate
 #include <cstring>          // for memset
-#include "cxa_exception.hpp"
-#include "cxa_handlers.hpp"
+#include "cxa_exception.h"
+#include "cxa_handlers.h"
 #include "fallback_malloc.h"
 #include "include/atomic_support.h"
 
similarity index 98%
rename from libcxxabi/src/cxa_exception.hpp
rename to libcxxabi/src/cxa_exception.h
index 95b859e..d24b80a 100644 (file)
@@ -1,4 +1,4 @@
-//===------------------------- cxa_exception.hpp --------------------------===//
+//===------------------------- cxa_exception.h ----------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
index 1a95954..dea6702 100644 (file)
@@ -10,7 +10,7 @@
 //  
 //===----------------------------------------------------------------------===//
 
-#include "cxa_exception.hpp"
+#include "cxa_exception.h"
 
 #include <__threading_support>
 
index 4fdc190..f520a4d 100644 (file)
@@ -14,8 +14,8 @@
 #include <exception>
 #include "abort_message.h"
 #include "cxxabi.h"
-#include "cxa_handlers.hpp"
-#include "cxa_exception.hpp"
+#include "cxa_handlers.h"
+#include "cxa_exception.h"
 #include "private_typeinfo.h"
 #include "include/atomic_support.h"
 
similarity index 95%
rename from libcxxabi/src/cxa_handlers.hpp
rename to libcxxabi/src/cxa_handlers.h
index f87f49d..c8e2e44 100644 (file)
@@ -1,4 +1,4 @@
-//===------------------------- cxa_handlers.cpp ---------------------------===//
+//===------------------------- cxa_handlers.h -----------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
index c32ebb0..2182c70 100644 (file)
@@ -15,8 +15,8 @@
 #include "cxxabi.h"
 
 #include <exception>        // for std::terminate
-#include "cxa_exception.hpp"
-#include "cxa_handlers.hpp"
+#include "cxa_exception.h"
+#include "cxa_handlers.h"
 
 namespace __cxxabiv1 {
 
index 9dded40..f140b74 100644 (file)
@@ -17,8 +17,8 @@
 #include <typeinfo>
 
 #include "__cxxabi_config.h"
-#include "cxa_exception.hpp"
-#include "cxa_handlers.hpp"
+#include "cxa_exception.h"
+#include "cxa_handlers.h"
 #include "private_typeinfo.h"
 #include "unwind.h"
 
index ee0845b..bbfa668 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <exception>
 #include "cxxabi.h"
-#include "cxa_exception.hpp"
+#include "cxa_exception.h"
 
 namespace __cxxabiv1
 {
index d72fa7f..57a4f26 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cassert>
-#include "support/timer.hpp"
+#include "support/timer.h"
 
 namespace t1
 {
index b2187d3..d569d5a 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cassert>
-#include "support/timer.hpp"
+#include "support/timer.h"
 
 // This test explicitly tests dynamic cast with types that have inaccessible
 // bases.
index b6a4c40..a8e6d96 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cassert>
-#include "support/timer.hpp"
+#include "support/timer.h"
 
 // This test explicitly tests dynamic cast with types that have inaccessible
 // bases.
index 9f56a78..73b398f 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <cassert>
 #include <tuple>
-#include "support/timer.hpp"
+#include "support/timer.h"
 
 template <std::size_t Indx, std::size_t Depth>
 struct C
index 8e41cd9..220c2fe 100644 (file)
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "support/timer.hpp"
+#include "support/timer.h"
 #include <iostream>
 #include <string>
 #include <cstdlib>
index 1fee680..305a970 100644 (file)
@@ -12,7 +12,7 @@
 #include <__threading_support>
 #include <unistd.h>
 
-#include "../src/cxa_exception.hpp"
+#include "../src/cxa_exception.h"
 
 typedef __cxxabiv1::__cxa_eh_globals globals_t ;