From 4836d6abb4f7bd30c3b81299cee353ea5b725767 Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Tue, 9 Nov 2010 19:43:35 +0000
Subject: [PATCH] make the example a bit better, encouraging people to use
"suggestions of what to use" in the message :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118612 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LanguageExtensions.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html
index c2e217bd6b..3789eaac80 100644
--- a/docs/LanguageExtensions.html
+++ b/docs/LanguageExtensions.html
@@ -302,14 +302,14 @@ float4 foo(float2 a, float2 b) {
and unavailable attributes. For example:
-void explode(void) __attribute__((deprecated("extremely unsafe!!!")));
+void explode(void) __attribute__((deprecated("extremely unsafe, use 'combust' instead!!!")));
If the deprecated or unavailable declaration is used, the message
will be incorporated into the appropriate diagnostic:
-harmless.c:4:3: warning: 'explode' is deprecated: extremely unsafe!!! [-Wdeprecated-declarations]
+harmless.c:4:3: warning: 'explode' is deprecated: extremely unsafe, use 'combust' instead!!! [-Wdeprecated-declarations]
explode();
^
--
2.40.0