diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-01-16 13:45:57 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-01-16 13:45:57 +0000 |
commit | 92f586dc11a60ca638f5db18d2654bd8c850c31c (patch) | |
tree | ed750e7215ffdb557beda7b5cbce57c357d257fe /include/clang/Basic/Attr.td | |
parent | 591427889ead8b7c4c3211ef8cc55a9501eac064 (diff) | |
download | clang-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.td | 2 |
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; } |