From: Ted Kremenek
Date: Tue, 9 Nov 2010 18:54:17 +0000 (+0000)
Subject: Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" to be...
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0eabb7d1dfc7a36ac0a532be192867bed06f352;p=clang
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!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118603 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/www/analyzer/annotations.html b/www/analyzer/annotations.html
index 5184aeddfe..f43e361cca 100644
--- a/www/analyzer/annotations.html
+++ b/www/analyzer/annotations.html
@@ -442,7 +442,7 @@ the use of preprocessor macros.
#ifndef CLANG_ANALYZER_NORETURN
-#if __clang__
+#if __has_feature(attribute_analyzer_noreturn)
#define CLANG_ANALYZER_NORETURN __attribute__((analyzer_noreturn))
#else
#define CLANG_ANALYZER_NORETURN