clang/test/CXX/drs/dr5xx.cpp: Fix up assumption of thiscall. It affects not x64 but x86.

Note, i686-cygwin doesn't use thiscall.

llvm-svn: 217234
This commit is contained in:
NAKAMURA Takumi 2014-09-05 08:18:53 +00:00
parent c879d06a85
commit 634c355e35
1 changed files with 2 additions and 2 deletions

View File

@ -518,10 +518,10 @@ namespace dr546 { // dr546: yes
}
namespace dr547 { // dr547: yes
// When targeting the MS ABI, the type of a member function includes a
// When targeting the MS x86 ABI, the type of a member function includes a
// __thiscall qualifier. This is non-conforming, but we still implement
// the intent of dr547
#if defined(_M_IX86) || defined(__MINGW32__) || defined(__MINGW64__)
#if defined(_M_IX86) || (defined(__MINGW32__) && !defined(__MINGW64__))
#define THISCALL __thiscall
#else
#define THISCALL