summaryrefslogtreecommitdiff
path: root/include/clang/Basic/Attr.td
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-16 13:45:57 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-16 13:45:57 +0000
commit92f586dc11a60ca638f5db18d2654bd8c850c31c (patch)
treeed750e7215ffdb557beda7b5cbce57c357d257fe /include/clang/Basic/Attr.td
parent591427889ead8b7c4c3211ef8cc55a9501eac064 (diff)
downloadclang-92f586dc11a60ca638f5db18d2654bd8c850c31c.tar.gz
Giving the asm attribute some keyword spellings based off of GCC's documentation. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Attr.td')
-rw-r--r--include/clang/Basic/Attr.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td
index 8491c10270..6d60c47c75 100644
--- a/include/clang/Basic/Attr.td
+++ b/include/clang/Basic/Attr.td
@@ -297,7 +297,7 @@ def ARMInterrupt : InheritableAttr, TargetSpecificAttr<TargetARM> {
}
def AsmLabel : InheritableAttr {
- let Spellings = [];
+ let Spellings = [Keyword<"asm">, Keyword<"__asm__">];
let Args = [StringArgument<"Label">];
let SemaHandler = 0;
}