llvm-project/clang/test
David Majnemer 474b323a03 [MSVC Compat] Diagnose multiple default ctors for dllexport'd classes
The MS ABI emits a special default constructor closure thunk if a
default constructor has a weird calling convention or default arguments.

The MS ABI has a quirk: there can be only one such thunk because the
mangling scheme does not have room for distinct manglings.  We must
raise a diagnostic in this eventuality.

N.B.  MSVC sorta gets this right.  Multiple default constructors result
in the default constructor closure getting emitted but they seem to
get confused by which default constructors are reasonable to reference
from the closure.  We try to be a little more careful which results in
mild differences in behavior.

llvm-svn: 256661
2015-12-31 05:36:46 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge Update tests touched by r249656 2015-10-08 06:31:22 +00:00
Analysis [analyzer] Handle another Android assert function. 2015-12-30 00:08:59 +00:00
CXX Improve diagnostic for the case where a function template candidate is rejected 2015-12-31 02:02:54 +00:00
CodeCompletion [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
CodeGen [ms inline asm] Add support for label names with '$' chars 2015-12-29 08:49:34 +00:00
CodeGenCUDA [CUDA] Make vtable construction aware of host/device side of CUDA compilation. 2015-12-17 18:12:36 +00:00
CodeGenCXX [MS ABI] Add variable templates to the NameBackReferences 2015-12-30 05:40:32 +00:00
CodeGenObjC Objective-C properties: merge attributes when redeclaring 'readonly' as 'readwrite' in an extension. 2015-12-10 23:02:09 +00:00
CodeGenObjCXX Reapply "[CodeGen] Fix assignments of inline layouts into the byref structure" 2015-12-21 20:21:15 +00:00
CodeGenOpenCL [OpenCL 2.0] Apply default address space (AS). 2015-11-23 11:14:44 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping [PGO] make profile prefix even shorter and more readable 2015-12-15 00:33:12 +00:00
Driver Disable generating movt on FreeBSD. 2015-12-30 13:53:25 +00:00
FixIt [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Preprocessor: define correct tvOS and watchOS version macros 2015-10-30 16:30:30 +00:00
Headers Make ms-intrin.cpp test require the x86 target. 2015-09-23 00:24:34 +00:00
Index [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer Fix test from r256596 2015-12-29 23:23:38 +00:00
Misc [diagnostics] Avoid crashes while printing macro backtraces 2015-12-08 01:08:09 +00:00
Modules [modules] Don't try to use the definition of a class if 2015-12-18 22:19:11 +00:00
OpenMP [OPENMP 4.5] Allow 'ordered' clause on 'loop simd' constructs. 2015-12-30 12:06:23 +00:00
PCH [Cygwin] Enable TLS as emutls. 2015-12-21 02:37:23 +00:00
Parser Fix crash-on-invalid if a :: is followed by two or more open parentheses (and then something else). 2015-12-19 02:40:19 +00:00
Preprocessor Emit a -Wmicrosoft warning when pasting /##/ into a comment token in MS mode. 2015-12-29 23:06:17 +00:00
Profile Attach maximum function count to Module when using PGO mode. 2015-12-17 19:14:27 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [OpenCL] Fix atomic Builtins check for address spaces of non-atomic pointer 2015-12-22 15:14:54 +00:00
SemaCUDA Produce a better diagnostic for global register variables. 2015-11-18 00:15:28 +00:00
SemaCXX [MSVC Compat] Diagnose multiple default ctors for dllexport'd classes 2015-12-31 05:36:46 +00:00
SemaObjC ObjC properties: consider ownership of properties from protocols when synthesizing. 2015-12-18 00:52:31 +00:00
SemaObjCXX Allow pseudo-destructor calls on forward-declared Objective-C class pointers. 2015-12-14 19:12:54 +00:00
SemaOpenCL [OpenCL 2.0] In OpenCL v2.0 s6.5 all pointers are implicitly in generic 2015-12-11 17:41:19 +00:00
SemaTemplate Implement [temp.deduct.type]p6: if the nested-name-specifier of a type is 2015-12-30 20:56:05 +00:00
TableGen
Tooling int function without a return statement is invalid C++. 2015-11-27 18:10:49 +00:00
Unit
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt [ThinLTO] Option to invoke ThinLTO backend passes and importing 2015-12-07 19:21:34 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Prune the feature "tls". No one is using it since TLS is enabled for Cygwin. 2015-12-27 06:14:33 +00:00
lit.site.cfg.in
make_test_dirs.pl