]> granicus.if.org Git - clang/commitdiff
These attributes are not supported by GCC and should not be in the gnu namespace...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 19 Oct 2017 21:20:28 +0000 (21:20 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 19 Oct 2017 21:20:28 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316186 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td

index 94b2e112abe96abcd3296aad13ba935350bffc3e..af3e71641cb58be652b3a3905d393fc76b9d6ffa 100644 (file)
@@ -1758,23 +1758,23 @@ def StdCall : InheritableAttr {
 }
 
 def SwiftCall : InheritableAttr {
-  let Spellings = [GCC<"swiftcall">];
+  let Spellings = [GNU<"swiftcall">];
 //  let Subjects = SubjectList<[Function]>;
   let Documentation = [SwiftCallDocs];
 }
 
 def SwiftContext : ParameterABIAttr {
-  let Spellings = [GCC<"swift_context">];
+  let Spellings = [GNU<"swift_context">];
   let Documentation = [SwiftContextDocs];
 }
 
 def SwiftErrorResult : ParameterABIAttr {
-  let Spellings = [GCC<"swift_error_result">];
+  let Spellings = [GNU<"swift_error_result">];
   let Documentation = [SwiftErrorResultDocs];
 }
 
 def SwiftIndirectResult : ParameterABIAttr {
-  let Spellings = [GCC<"swift_indirect_result">];
+  let Spellings = [GNU<"swift_indirect_result">];
   let Documentation = [SwiftIndirectResultDocs];
 }