r199410 - Giving a spelling to the Override attribute, and commenting on the absence of a spelling for a few implicitly-only attributes. No functional change intended.
Aaron Ballman
aaron at aaronballman.com
Thu Jan 16 11:00:04 PST 2014
Author: aaronballman
Date: Thu Jan 16 13:00:04 2014
New Revision: 199410
URL: http://llvm.org/viewvc/llvm-project?rev=199410&view=rev
Log:
Giving a spelling to the Override attribute, and commenting on the absence of a spelling for a few implicitly-only attributes. No functional change intended.
Modified:
cfe/trunk/include/clang/Basic/Attr.td
Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=199410&r1=199409&r2=199410&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Thu Jan 16 13:00:04 2014
@@ -275,6 +275,7 @@ def Aligned : InheritableAttr {
}
def AlignMac68k : InheritableAttr {
+ // This attribute has no spellings as it is only ever created implicitly.
let Spellings = [];
let SemaHandler = 0;
}
@@ -602,6 +603,7 @@ def Malloc : InheritableAttr {
}
def MaxFieldAlignment : InheritableAttr {
+ // This attribute has no spellings as it is only ever created implicitly.
let Spellings = [];
let Args = [UnsignedArgument<"Alignment">];
let SemaHandler = 0;
@@ -808,7 +810,7 @@ def Overloadable : Attr {
}
def Override : InheritableAttr {
- let Spellings = [];
+ let Spellings = [Keyword<"override">];
let SemaHandler = 0;
}
More information about the cfe-commits
mailing list