summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-16 19:00:04 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-16 19:00:04 +0000
commite3a16be52eab5b5b5f40997fc90a0b879a95174b (patch)
tree8924c01305f4dbab9db38dd9d9e6bf2d3cb31b7e
parent2b75630b3bc4e0699083b945b453ef412f81b4c2 (diff)
downloadbcm5719-llvm-e3a16be52eab5b5b5f40997fc90a0b879a95174b.tar.gz
bcm5719-llvm-e3a16be52eab5b5b5f40997fc90a0b879a95174b.zip
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
-rw-r--r--clang/include/clang/Basic/Attr.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td
index 78fdedc20f7..caee244d632 100644
--- a/clang/include/clang/Basic/Attr.td
+++ b/clang/include/clang/Basic/Attr.td
@@ -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;
}
OpenPOWER on IntegriCloud