forked from OSchip/llvm-project
Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" to be consistent with all other snippets on this page.
Patch by Jean-Daniel Dupas! llvm-svn: 118603
This commit is contained in:
parent
94ce9711c1
commit
5fab27aa6c
|
@ -442,7 +442,7 @@ the use of preprocessor macros.</p>
|
|||
|
||||
<pre class="code_example">
|
||||
#ifndef CLANG_ANALYZER_NORETURN
|
||||
#if __clang__
|
||||
#if __has_feature(attribute_analyzer_noreturn)
|
||||
<span class="code_highlight">#define CLANG_ANALYZER_NORETURN __attribute__((analyzer_noreturn))</span>
|
||||
#else
|
||||
#define CLANG_ANALYZER_NORETURN
|
||||
|
|
Loading…
Reference in New Issue