[all-commits] [llvm/llvm-project] 7a2067: AST: correct name decoration for swift async funct...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Tue Jul 13 10:04:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a20670d168af31ef77209f43ca0622800ce513a
      https://github.com/llvm/llvm-project/commit/7a20670d168af31ef77209f43ca0622800ce513a
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp

  Log Message:
  -----------
  AST: correct name decoration for swift async functions on Windows

The name decoration scheme on Windows does not have a vendor namespace,
and the decoration scheme is not shared ownership - it is controlled by
Microsoft.  `T` is a reserved identifier for an unknown calling
convention.  The `W` identifier has been discussed with Microsoft
offline and is reserved as `Swift_3` as the identifier for the swift
async calling convention.  Adjust the name decoration accordingly.




More information about the All-commits mailing list