r199382 - Giving the asm attribute some keyword spellings based off of GCC's documentation. No functional changes.
Aaron Ballman
aaron at aaronballman.com
Thu Jan 16 05:45:57 PST 2014
Author: aaronballman
Date: Thu Jan 16 07:45:57 2014
New Revision: 199382
URL: http://llvm.org/viewvc/llvm-project?rev=199382&view=rev
Log:
Giving the asm attribute some keyword spellings based off of GCC's documentation. No functional changes.
Modified:
cfe/trunk/include/clang/Basic/Attr.td
Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=199382&r1=199381&r2=199382&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Thu Jan 16 07:45:57 2014
@@ -297,7 +297,7 @@ def ARMInterrupt : InheritableAttr, Targ
}
def AsmLabel : InheritableAttr {
- let Spellings = [];
+ let Spellings = [Keyword<"asm">, Keyword<"__asm__">];
let Args = [StringArgument<"Label">];
let SemaHandler = 0;
}
More information about the cfe-commits
mailing list