forked from OSchip/llvm-project
Try to restore some clang test headers lost in r360291
I'm not sure why 'git llvm revert' removed them. llvm-svn: 360297
This commit is contained in:
parent
902b3ecdad
commit
44dd05c31b
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
double sqrt(double);
|
||||
double pow(double, double);
|
||||
double modf(double, double*);
|
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#define complex _Complex
|
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
namespace std
|
||||
{
|
||||
struct __numeric_limits_base
|
||||
{};
|
||||
template<typename _Tp>
|
||||
struct numeric_limits : public __numeric_limits_base
|
||||
{};
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
double sqrt(double);
|
||||
double pow(double, double);
|
||||
double modf(double, double*);
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef SETJMP_H
|
||||
#define SETJMP_H
|
||||
|
||||
typedef struct {
|
||||
int x[42];
|
||||
} jmp_buf;
|
||||
|
||||
#endif
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef STDINT_H
|
||||
#define STDINT_H
|
||||
|
||||
#ifdef __INT32_TYPE__
|
||||
typedef unsigned __INT32_TYPE__ uint32_t;
|
||||
#endif
|
||||
|
||||
#ifdef __INT64_TYPE__
|
||||
typedef unsigned __INT64_TYPE__ uint64_t;
|
||||
#endif
|
||||
|
||||
#ifdef __INTPTR_TYPE__
|
||||
typedef __INTPTR_TYPE__ intptr_t;
|
||||
typedef unsigned __INTPTR_TYPE__ uintptr_t;
|
||||
#else
|
||||
#error Every target should have __INTPTR_TYPE__
|
||||
#endif
|
||||
|
||||
#endif /* STDINT_H */
|
|
@ -0,0 +1,2 @@
|
|||
#pragma once
|
||||
typedef __SIZE_TYPE__ size_t;
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef SYSFLOAT_H
|
||||
#define SYSFLOAT_H
|
||||
|
||||
#define FLT_HAS_SUBNORM 1
|
||||
|
||||
#endif /* SYSFLOAT_H */
|
|
@ -0,0 +1 @@
|
|||
// math.h
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef SYS_TGMATH_H
|
||||
#define SYS_TGMATH_H
|
||||
|
||||
#endif /* SYS_TGMATH_H */
|
Loading…
Reference in New Issue