-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing libcxx headers and using:: declarations. (#532)
- Loading branch information
1 parent
26ea392
commit bb562f7
Showing
21 changed files
with
154 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,6 @@ int feupdateenv(const fenv_t *); | |
} | ||
#endif | ||
|
||
#endif | ||
#endif /* _FENV_P_ONLY */ | ||
|
||
#endif | ||
#endif /* _FENV_P */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -301,4 +301,4 @@ long double truncl(long double); | |
} | ||
#endif | ||
|
||
#endif | ||
#endif /* _MATH_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ void longjmp(jmp_buf env, int val) __attribute__((noreturn)); | |
|
||
__END_DECLS | ||
|
||
#endif | ||
#endif /* _SETJMP_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CASSERT | ||
#define _EZCXX_CASSERT | ||
|
||
#include <assert.h> | ||
|
||
#pragma clang system_header | ||
|
||
#endif // _EZCXX_CASSERT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CERRNO | ||
#define _EZCXX_CERRNO | ||
|
||
#include <errno.h> | ||
|
||
#pragma clang system_header | ||
|
||
namespace std { | ||
using ::errno; | ||
} // namespace std | ||
|
||
#endif // _EZCXX_CERRNO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CFLOAT | ||
#define _EZCXX_CFLOAT | ||
|
||
#include <float.h> | ||
|
||
#pragma clang system_header | ||
|
||
#endif // _EZCXX_CFLOAT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CINTTYPES | ||
#define _EZCXX_CINTTYPES | ||
|
||
#include <inttypes.h> | ||
#include <cstdint> | ||
|
||
#pragma clang system_header | ||
|
||
namespace std { | ||
|
||
using ::imaxdiv_t; | ||
|
||
using ::imaxabs; | ||
inline constexpr intmax_t abs(intmax_t __x) { return imaxabs(__x); } | ||
|
||
using ::imaxdiv; | ||
inline constexpr imaxdiv_t div(intmax_t __x, intmax_t __y) { return imaxdiv(__x, __y); } | ||
|
||
} // namespace std | ||
|
||
#endif // _EZCXX_CINTTYPES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CISO646 | ||
#define _EZCXX_CISO646 | ||
|
||
#include <iso646.h> | ||
|
||
#pragma clang system_header | ||
|
||
#endif // _EZCXX_CISO646 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CSETJMP | ||
#define _EZCXX_CSETJMP | ||
|
||
#include <setjmp.h> | ||
|
||
#pragma clang system_header | ||
|
||
namespace std { | ||
using ::jmp_buf; | ||
using ::setjmp; | ||
using ::longjmp; | ||
} // namespace std | ||
|
||
#endif // _EZCXX_CSETJMP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CSTDALIGN | ||
#define _EZCXX_CSTDALIGN | ||
|
||
#include <stdalign.h> | ||
|
||
#pragma clang system_header | ||
|
||
#endif // _EZCXX_CSTDALIGN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CSTDBOOL | ||
#define _EZCXX_CSTDBOOL | ||
|
||
#include <stdbool.h> | ||
|
||
#pragma clang system_header | ||
|
||
#endif // _EZCXX_CSTDBOOL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// -*- C++ -*- | ||
#ifndef _EZCXX_CTIME | ||
#define _EZCXX_CTIME | ||
|
||
#include <time.h> | ||
|
||
#pragma clang system_header | ||
|
||
namespace std { | ||
using ::clock_t; | ||
using ::time_t; | ||
using ::tm; | ||
|
||
using ::clock; | ||
using ::difftime; | ||
using ::mktime; | ||
using ::time; | ||
using ::localtime; | ||
using ::gmtime; | ||
using ::asctime; | ||
using ::ctime; | ||
using ::strftime; | ||
} // namespace std | ||
|
||
#endif // _EZCXX_CTIME |