]> granicus.if.org Git - clang/commitdiff
Giving the asm attribute some keyword spellings based off of GCC's documentation...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 16 Jan 2014 13:45:57 +0000 (13:45 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 16 Jan 2014 13:45:57 +0000 (13:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199382 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td

index 8491c10270eaa734a1fd8bc3d04221132c1b5ad9..6d60c47c75be96d3b4c99f18932f93ba4ab34e56 100644 (file)
@@ -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;
 }