Logo
Explore Help
Sign In
mirrors/llvm-project
0
0
Fork 0
You've already forked llvm-project
mirror of https://github.com/llvm/llvm-project.git synced 2025-05-13 19:06:05 +00:00
Code Issues Projects Releases Wiki Activity
llvm-project/clang/test/CodeGenCXX/copy-assign-synthesis-2.cpp

5 lines
188 B
C++
Raw Normal View History

Prepare for using MS ABI by default for Win32: update CodeGenCXX tests llvm-svn: 197281
2013-12-13 22:43:52 +00:00
// RUN: %clang_cc1 -cxx-abi itanium -emit-llvm %s -o - | FileCheck %s
Simplify and fix up the handling of implicit constructors, copy assignment operators, and destructors. Avoids generating declarations/definitions of trivial constructors/destructors, and makes sure the trivial copy assignment operator is generated when necessary. llvm-svn: 89943
2009-11-26 07:40:08 +00:00
struct A {};
A& (A::*x)(const A&) = &A::operator=;
Switch to the new MingW ABI. GCC 4.7 changed the MingW ABI. On the clang side this means that methods now have the thiscall calling convention by default. llvm-svn: 197164
2013-12-12 16:07:11 +00:00
// CHECK-LABEL: define linkonce_odr {{.*}}%struct.A* @_ZN1AaSERKS_
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 3742ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API