From: Aaron Ballman Date: Thu, 16 Jan 2014 13:45:57 +0000 (+0000) Subject: Giving the asm attribute some keyword spellings based off of GCC's documentation... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92f586dc11a60ca638f5db18d2654bd8c850c31c;p=clang 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 --- 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 { } def AsmLabel : InheritableAttr { - let Spellings = []; + let Spellings = [Keyword<"asm">, Keyword<"__asm__">]; let Args = [StringArgument<"Label">]; let SemaHandler = 0; }