diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-18 16:57:00 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-18 16:57:00 +0000 |
commit | f813a2c03fcb05381b3252010435f557eb6b3cde (patch) | |
tree | 63c5ee667ae6620d0fa3bc013ee08a32cd6e722e /lib/AST/Type.cpp | |
parent | a83fb4bf8119b980ccf7de0795dff250a799ea58 (diff) |
Add support for Microsoft's __thiscall, from Steven Watanabe!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index ebaad9a0a8..5d27ba469c 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -919,6 +919,7 @@ llvm::StringRef FunctionType::getNameForCallConv(CallingConv CC) { case CC_C: return "cdecl"; case CC_X86StdCall: return "stdcall"; case CC_X86FastCall: return "fastcall"; + case CC_X86ThisCall: return "thiscall"; } } |