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.

llvm-svn: 199410
This commit is contained in:
Aaron Ballman 2014-01-16 19:00:04 +00:00
parent 2b75630b3b
commit e3a16be52e
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}