the 'mode' attribute is a decl attribute, not a type attribute. Move it to
SemaDeclAttr, and do some cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52844 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index e0d9758..0dda082 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -307,11 +307,10 @@
QualType HandleAddressSpaceTypeAttribute(QualType curType,
const AttributeList *rawAttr);
- /// HandleModeTypeAttribute - this attribute modifies the width of a
+ /// HandleModeAttribute - this attribute modifies the width of a decl with
/// primitive type. Note that this is a variable attribute, and not
/// a type attribute.
- QualType HandleModeTypeAttribute(QualType curType,
- const AttributeList *rawAttr);
+ void HandleModeAttribute(Decl *d, const AttributeList &Attr);
// HandleVectorTypeAttribute - this attribute is only applicable to
// integral and float scalars, although arrays, pointers, and function