diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2017-10-19 21:20:28 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2017-10-19 21:20:28 +0000 |
commit | df2d8399284c68051f5fc83a01f9ed0a1c033131 (patch) | |
tree | 46d77c36f48a382f85d46d2e7e9d1e4b64794863 | |
parent | ec937b9108626a67dbf0e1ac25736776faffe69d (diff) | |
download | bcm5719-llvm-df2d8399284c68051f5fc83a01f9ed0a1c033131.tar.gz bcm5719-llvm-df2d8399284c68051f5fc83a01f9ed0a1c033131.zip |
These attributes are not supported by GCC and should not be in the gnu namespace. Switching from the GCC spelling to the GNU spelling so that they are only supported with __attribute__(()).
llvm-svn: 316186
-rw-r--r-- | clang/include/clang/Basic/Attr.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td index 94b2e112abe..af3e71641cb 100644 --- a/clang/include/clang/Basic/Attr.td +++ b/clang/include/clang/Basic/Attr.td @@ -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]; } |