Skip to content

Commit f2f4080

Browse files
pkubajecnelises
authored andcommitted
[PowerPC] Fix SSE translation on FreeBSD
This patch drops throws specifier in posix_memalign declaration because that's different between glibc and other libc, and Clang has a hack. Differential Revision: https://reviews.llvm.org/D117972
1 parent 4f97aa7 commit f2f4080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Headers/ppc_wrappers/mm_malloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef __cplusplus
2020
extern int posix_memalign (void **, size_t, size_t);
2121
#else
22-
extern "C" int posix_memalign (void **, size_t, size_t) throw ();
22+
extern "C" int posix_memalign (void **, size_t, size_t);
2323
#endif
2424

2525
static __inline void *

0 commit comments

Comments
 (0)