]> granicus.if.org Git - clang/commit
AST: support SwiftCC on MS ABI
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 7 Feb 2018 01:55:08 +0000 (01:55 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 7 Feb 2018 01:55:08 +0000 (01:55 +0000)
commitf022963d5452a9dbc775f1a07d842577481e0c60
tree90a77ccfeedce63eff1c9fc95ff520164124d7bf
parentbcd5214fa1ef182a24511240981e52b3dcd93d75
AST: support SwiftCC on MS ABI

Microsoft has reserved the identifier 'S' as the swift calling
convention.  Decorate the symbols appropriately.  This enables swift on
Windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/msabi-swiftcall-cc.cpp [new file with mode: 0644]