mirror of
https://github.com/reactos/reactos.git
synced 2025-06-18 19:15:50 +00:00
[PSDK] define __analysis_noreturn for clang static analyzer
This commit is contained in:
parent
f095ff418b
commit
003ad0ec07
1 changed files with 8 additions and 4 deletions
|
@ -258,7 +258,11 @@ __ANNOTATION(SAL_failureDefault(enum __SAL_failureKind));
|
||||||
#define __class_code_content(typ)
|
#define __class_code_content(typ)
|
||||||
#define __analysis_assert(e)
|
#define __analysis_assert(e)
|
||||||
#define __analysis_hint(hint)
|
#define __analysis_hint(hint)
|
||||||
|
#ifndef __clang__
|
||||||
#define __analysis_noreturn
|
#define __analysis_noreturn
|
||||||
|
#else
|
||||||
|
#define __analysis_noreturn __attribute__((analyzer_noreturn))
|
||||||
|
#endif
|
||||||
/* Internal defintions */
|
/* Internal defintions */
|
||||||
#define __inner_data_source(src_raw)
|
#define __inner_data_source(src_raw)
|
||||||
#define __inner_this_data_source(src_raw)
|
#define __inner_this_data_source(src_raw)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue