[all-commits] [llvm/llvm-project] 92dcb1: [Clang] Introduce Swift async calling convention.

Varun Gandhi via All-commits all-commits at lists.llvm.org
Fri Jul 9 11:50:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92dcb1d2db8c4de48df0af806dca631523cd4169
      https://github.com/llvm/llvm-project/commit/92dcb1d2db8c4de48df0af806dca631523cd4169
  Author: Varun Gandhi <varun_gandhi at apple.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M clang/include/clang-c/Index.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/Specifiers.h
    M clang/include/clang/CodeGen/SwiftCallingConv.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/lib/Basic/Targets/PPC.h
    M clang/lib/Basic/Targets/SystemZ.h
    M clang/lib/Basic/Targets/WebAssembly.h
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/CodeGen/64bit-swiftcall.c
    M clang/test/CodeGen/arm-swiftcall.c
    M clang/test/CodeGen/debug-info-cc.c
    A clang/test/CodeGen/swift-async-call-conv.c
    M clang/test/CodeGen/swift-call-conv.c
    M clang/test/Sema/attr-c2x.c
    M clang/test/Sema/attr-swiftcall.c
    M clang/test/Sema/no_callconv.cpp
    M clang/test/SemaCXX/attr-swiftcall.cpp
    M clang/tools/libclang/CXType.cpp
    M llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    M llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
    M llvm/lib/Transforms/IPO/MergeFunctions.cpp
    M llvm/test/Demangle/ms-mangle.test

  Log Message:
  -----------
  [Clang] Introduce Swift async calling convention.

This change is intended as initial setup. The plan is to add
more semantic checks later. I plan to update the documentation
as more semantic checks are added (instead of documenting the
details up front). Most of the code closely mirrors that for
the Swift calling convention. Three places are marked as
[FIXME: swiftasynccc]; those will be addressed once the
corresponding convention is introduced in LLVM.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D95561




More information about the All-commits mailing list