From c784dc1caf0df288a383700f7b57772103b3adab Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 6 Oct 2010 23:12:32 +0000 Subject: [PATCH] Patch for adding message to unavailable attribute. And its documentation. Finishes off // rdar: // 6734520. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115862 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LanguageExtensions.html | 9 +++++++++ include/clang/Basic/Attr.td | 1 + include/clang/Basic/DiagnosticSemaKinds.td | 1 + lib/Sema/SemaDeclAttr.cpp | 22 ++++++++++++++++++---- lib/Sema/SemaExpr.cpp | 8 ++++++-- test/Sema/attr-unavailable-message.c | 16 ++++++++++++++++ 6 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 test/Sema/attr-unavailable-message.c diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 48d5aa64a1..8faa555f5c 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -23,6 +23,7 @@ td {
  • Include File Checking Macros
  • Builtin Macros
  • Vectors and Extended Vectors
  • +
  • Deprecated and Unavailable attribute with Message
  • Checks for Standard Language Features