Go to file
Michael Zuckerman 229158c491 [Microsoft][C++] Clang doesn't support a use of "this" pointer inside inline asm
Clang doesn’t support a use of “this” pointer inside inline asm.
When I tried to compile a class or a struct (see example) with an inline asm that contains "this" pointer.
Clang returns with an error.
This patch fixes that.

error: expected unqualified-id
For example:
'''
struct A {
    void f() {
          __asm mov eax, this
              // error: expected unqualified-id
                  }
};
'''
Differential Revision: http://reviews.llvm.org/D15115

llvm-svn: 255645
2015-12-15 14:04:18 +00:00
clang [Microsoft][C++] Clang doesn't support a use of "this" pointer inside inline asm 2015-12-15 14:04:18 +00:00
clang-tools-extra [clang-tidy] Check for suspicious string assignments. 2015-12-15 08:47:20 +00:00
compiler-rt [asan] try to fix ARM bots 2015-12-15 01:05:35 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Mark declarations of externally instantiated functions as inline so GCC doesn't complain. 2015-12-15 01:41:41 +00:00
libcxxabi [libc++abi] Use libgcc and libgcc_s to provide _Unwind symbols instead of libgcc_eh.a 2015-12-14 22:20:04 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld Reapply fixed r255626 that broke buildbot: 2015-12-15 08:48:39 +00:00
lldb Merge ENABLE_THREADS and ENABLE_STD_THREADS markers 2015-12-15 12:11:00 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [x86] adding PKU feature flag 2015-12-15 13:35:29 +00:00
openmp Fix broken visual studio builds by disabling KMP_USE_TSX. 2015-12-14 17:39:30 +00:00
polly Fix typos; NFC 2015-12-14 23:41:32 +00:00