From 92f586dc11a60ca638f5db18d2654bd8c850c31c Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 16 Jan 2014 13:45:57 +0000 Subject: [PATCH] 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 --- include/clang/Basic/Attr.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0