Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit d8218e6

Browse files
committed
libcxxabi: Rename .hpp files to .h
LLVM uses .h as its extension for header files. Differential Revision: https://reviews.llvm.org/D65981 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@368604 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 71e8e8d commit d8218e6

16 files changed

+20
-20
lines changed

src/cxa_default_handlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#include <cstdlib>
1515
#include "abort_message.h"
1616
#include "cxxabi.h"
17-
#include "cxa_handlers.hpp"
18-
#include "cxa_exception.hpp"
17+
#include "cxa_handlers.h"
18+
#include "cxa_exception.h"
1919
#include "private_typeinfo.h"
2020
#include "include/atomic_support.h"
2121

src/cxa_exception.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include <exception> // for std::terminate
1616
#include <cstring> // for memset
17-
#include "cxa_exception.hpp"
18-
#include "cxa_handlers.hpp"
17+
#include "cxa_exception.h"
18+
#include "cxa_handlers.h"
1919
#include "fallback_malloc.h"
2020
#include "include/atomic_support.h"
2121

src/cxa_exception.hpp renamed to src/cxa_exception.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===------------------------- cxa_exception.hpp --------------------------===//
1+
//===------------------------- cxa_exception.h ----------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

src/cxa_exception_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "cxa_exception.hpp"
13+
#include "cxa_exception.h"
1414

1515
#include <__threading_support>
1616

src/cxa_handlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#include <exception>
1515
#include "abort_message.h"
1616
#include "cxxabi.h"
17-
#include "cxa_handlers.hpp"
18-
#include "cxa_exception.hpp"
17+
#include "cxa_handlers.h"
18+
#include "cxa_exception.h"
1919
#include "private_typeinfo.h"
2020
#include "include/atomic_support.h"
2121

src/cxa_handlers.hpp renamed to src/cxa_handlers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===------------------------- cxa_handlers.cpp ---------------------------===//
1+
//===------------------------- cxa_handlers.h -----------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

src/cxa_noexception.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include "cxxabi.h"
1616

1717
#include <exception> // for std::terminate
18-
#include "cxa_exception.hpp"
19-
#include "cxa_handlers.hpp"
18+
#include "cxa_exception.h"
19+
#include "cxa_handlers.h"
2020

2121
namespace __cxxabiv1 {
2222

src/cxa_personality.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include <typeinfo>
1818

1919
#include "__cxxabi_config.h"
20-
#include "cxa_exception.hpp"
21-
#include "cxa_handlers.hpp"
20+
#include "cxa_exception.h"
21+
#include "cxa_handlers.h"
2222
#include "private_typeinfo.h"
2323
#include "unwind.h"
2424

src/cxa_unexpected.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <exception>
1010
#include "cxxabi.h"
11-
#include "cxa_exception.hpp"
11+
#include "cxa_exception.h"
1212

1313
namespace __cxxabiv1
1414
{

test/dynamic_cast14.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include <cassert>
10-
#include "support/timer.hpp"
10+
#include "support/timer.h"
1111

1212
namespace t1
1313
{

0 commit comments

Comments
 (0)