forked from OSchip/llvm-project
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:
parent
2b75630b3b
commit
e3a16be52e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue