Mercurial > hg > CbC > CbC_llvm
comparison libc/include/__llvm-libc-common.h @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
1 //===------- Common definitions for LLVM-libc public header files- --------===// | 1 //===-- Common definitions for LLVM-libc public header files --------------===// |
2 // | 2 // |
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 // See https://llvm.org/LICENSE.txt for license information. | 4 // See https://llvm.org/LICENSE.txt for license information. |
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 // | 6 // |
15 #define __BEGIN_C_DECLS extern "C" { | 15 #define __BEGIN_C_DECLS extern "C" { |
16 | 16 |
17 #undef __END_C_DECLS | 17 #undef __END_C_DECLS |
18 #define __END_C_DECLS } | 18 #define __END_C_DECLS } |
19 | 19 |
20 #undef _Noreturn | |
21 #define _Noreturn [[noreturn]] | |
22 | |
20 #else // not __cplusplus | 23 #else // not __cplusplus |
21 | 24 |
22 #undef __BEGIN_C_DECLS | 25 #undef __BEGIN_C_DECLS |
23 #define __BEGIN_C_DECLS | 26 #define __BEGIN_C_DECLS |
24 | 27 |