From df91e7651acfdc0b0a6d96b3f38bebdff7dee251 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 27 Nov 2013 13:56:12 +0000 Subject: [PATCH] Removing the description part of a subset subject. It is unused, and wouldn't be future-proof regarding translation issues. It is also covered by SubjectList's CustomDiag member. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195842 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/Attr.td | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td index 1e69de7661..69c1eae776 100644 --- a/include/clang/Basic/Attr.td +++ b/include/clang/Basic/Attr.td @@ -19,27 +19,22 @@ include "clang/Basic/StmtNodes.td" // A subset-subject is an AttrSubject constrained to operate only on some subset // of that subject. // -// The description is used in output messages to specify what the subject -// represents. FIXME: Deal with translation issues. -// // The code fragment is a boolean expression that will confirm that the subject // meets the requirements; the subject will have the name S, and will have the // type specified by the base. It should be a simple boolean expression. -class SubsetSubject - : AttrSubject { +class SubsetSubject : AttrSubject { AttrSubject Base = base; - string Description = description; code CheckCode = check; } // This is the type of a variable which C++11 allows alignas(...) to appertain // to. -def NormalVar : SubsetSubjectgetStorageClass() != VarDecl::Register && S->getKind() != Decl::ImplicitParam && S->getKind() != Decl::ParmVar && S->getKind() != Decl::NonTypeTemplateParm}]>; -def NonBitField : SubsetSubjectisBitField()}]>; // A single argument to an attribute -- 2.40.0