]> granicus.if.org Git - clang/commit
Use the right calling convention when mangling names in the Microsoft C++
authorCharles Davis <cdavis@mines.edu>
Tue, 9 Nov 2010 18:04:24 +0000 (18:04 +0000)
committerCharles Davis <cdavis@mines.edu>
Tue, 9 Nov 2010 18:04:24 +0000 (18:04 +0000)
commitee743f903858e337434ac0335f147f4de4ecae05
treea8a3906857c0bc46c4bf0911c4c4fe03b73eea2a
parent9284d215022457ba867080a713f08f026d89ea17
Use the right calling convention when mangling names in the Microsoft C++
mangler. Now member functions and pointers thereof have their calling
convention mangled as __thiscall if they have the default CC (even though,
they technically still have the __cdecl CC).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118598 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/mangle-ms.cpp