clang-1/test/CodeGenCXX
Anders Carlsson 2e13db8bc6 Check in a test case and a nasty workaround for PR6199.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95076 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-02 07:10:35 +00:00
..
PR4827-cast.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR4983-constructor-conversion.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR5050-constructor-conversion.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
PR5093-static-member-function.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR5834-constructor-conversion.cpp When converting from a type to itself or one of its base classes via a 2009-12-22 00:21:20 +00:00
__null.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
address-of-fntemplate.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
anonymous-namespaces.cpp If a global variable has an initializer with side effects, it can never be deferred (even if it's in an anonymous namespace). 2010-01-26 06:15:16 +00:00
anonymous-union-member-initializer.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
array-construction.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
array-operator-delete-call.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
array-pointer-decay.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
array-value-initialize.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
assign-operator.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr.cpp Fix attr.cpp by not checking the generated assembler output. 2010-01-27 02:49:52 +00:00
call-arg-zero-temp.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
cast-conversion.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
casts.cpp Make sure that reinterpret_cast gets a CastKind on all successful 2009-12-22 22:47:22 +00:00
class-layout.cpp Baby steps towards fixing PR5589. If a class needs a vtable pointer, add one. 2009-12-16 17:27:20 +00:00
condition.cpp Fix for Release-Asserts. 2010-01-13 20:57:29 +00:00
conditional-expr-lvalue.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conditional-temporaries.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
const-base-cast.cpp Fix runline. 2009-12-27 05:59:41 +00:00
const-global-linkage.cpp Mangle static variables with an extra name to distinguish them from non-static variables in the same TU. 2010-01-24 03:04:27 +00:00
const-init.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
constructor-conversion.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
constructor-convert.cpp Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
constructor-default-arg.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
constructor-for-array-members.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
constructor-init-reference.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
constructor-init.cpp Switch more of Sema::CheckInitializerTypes over to 2009-12-19 03:01:41 +00:00
constructor-template.cpp Correctly pass VTT parameters to constructors and destructors. The VTTs aren't yet used in the ctors/dtors, but that will follow. 2010-01-02 01:01:18 +00:00
conversion-function.cpp XFAIL this for now. 2010-01-27 03:06:00 +00:00
conversion-operator-base.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
convert-to-fptr.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
copy-assign-synthesis-1.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
copy-assign-synthesis-2.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
copy-assign-synthesis-3.cpp Fix a couple bugs in copy assignment operator synthesis. 2010-01-15 20:06:11 +00:00
copy-assign-synthesis.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
copy-constructor-elim-2.cpp Make copy constructor elimination work in more cases; the case in question 2009-12-24 23:33:34 +00:00
copy-constructor-elim.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
copy-constructor-synthesis-2.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
copy-constructor-synthesis.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
debug-info.cpp Fix another debug info crash with virtual bases. 2010-01-26 05:26:39 +00:00
decl-ref-init.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
default-arg-temps.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-arguments.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-constructor-default-argument.cpp Correctly pass VTT parameters to constructors and destructors. The VTTs aren't yet used in the ctors/dtors, but that will follow. 2010-01-02 01:01:18 +00:00
default-constructor-for-members.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
default-constructor-template-member.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-destructor-synthesis.cpp Fix test/CodeGenCXX/default-destructor-synthesis.cpp not to rely on asm output. 2010-01-27 03:03:08 +00:00
deferred-global-init.cpp Mangle static variables with an extra name to distinguish them from non-static variables in the same TU. 2010-01-24 03:04:27 +00:00
delete-two-arg.cpp Fix for Release-Assert. 2010-01-13 20:58:35 +00:00
delete.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
derived-to-base-conv.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
derived-to-base.cpp When performing a derived-to-base cast that we know will not change the offset, we don't need to null check the input pointer. Fixes PR5965. 2010-01-31 02:39:02 +00:00
destructor-calls.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
destructors.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
devirtualize-virtual-function-calls.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dynamic-cast.cpp Fix regression I introduced when dynamic_cast-ing to a reference type. 2009-12-18 14:55:04 +00:00
dyncast.cpp XFAIL two tests on Win32 until some cares to investigate... the problem on 2010-02-02 05:41:30 +00:00
eh.cpp Fix Release-Asserts. 2010-01-13 21:23:04 +00:00
elide-call-reference.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
empty-union.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
enum.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
eval-recursive-constant.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
exceptions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
explicit-instantiation.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
expr.cpp implement codegen support for preinc as an lvalue, PR5514. 2010-01-09 21:44:40 +00:00
extern-c.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-template-explicit-specialization.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-template-specialization.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
global-array-destruction.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
global-init.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
global-llvm-constant.cpp Mangle static variables with an extra name to distinguish them from non-static variables in the same TU. 2010-01-24 03:04:27 +00:00
implicit-instantiation-1.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
init-incomplete-type.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
inline-functions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
instantiate-init-list.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
key-function-vtable.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-exprs.cpp Name mangling for cast expressions, from Matthias Schiffer! Fixes PR5876. 2010-01-29 16:37:09 +00:00
mangle-extern-local.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-extreme.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-subst-std.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-subst.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-system-header.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-template.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle-unnamed.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle.cpp Mangle static variables with an extra name to distinguish them from non-static variables in the same TU. 2010-01-24 03:04:27 +00:00
member-call-parens.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-expressions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-function-pointers.cpp Make the AST explicitly represent the cast of the first operand of a 2010-01-16 00:00:48 +00:00
member-functions.cpp Make sure that we mangle overloaded operators that are member functions correctly, giving them the correct arity. 2009-12-22 06:36:32 +00:00
member-init-struct.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-init-union.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-pointer-type-convert.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
namespace-aliases.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
nested-base-member-access.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
new-operator-phi.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
new-with-default-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
new.cpp implement PR5654: add -fassume-sane-operator-new, which is enabled by default, and adds the malloc attribute to the global function new() and to the overloaded new operators. 2009-12-16 16:59:22 +00:00
nullptr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
operator-new.cpp revert part of my last patch, and mark only the c++ global new operator as noalias. the rest will be infered by llvm optz 2009-12-17 10:15:49 +00:00
overload-binop-implicitconvert.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pointers-to-data-members.cpp Improve handling of emitting 'null' pointers to data members. 2010-02-02 05:17:25 +00:00
predefined-expr-sizeof.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
predefined-expr.cpp Fix for PR5871. Make __PRETTY_FUNCTION__ work for member functions defined in a class local to a function. 2009-12-28 03:19:38 +00:00
ptr-to-datamember.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ptr-to-member-function.cpp Testcase fixes to reflect instruction table changes in the LLVM backend 2009-12-18 00:04:09 +00:00
reference-bind-default-argument.cpp Fix for PR5524: make reference binding in default argument work correctly. 2009-12-19 00:20:10 +00:00
reference-field.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
reference-init.cpp Fix reference binding of const lvalue references to bit-fields, which 2010-01-29 19:14:02 +00:00
references.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
reinterpret-cast.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rtti-layout.cpp Fix a bunch of bugs with VMI RTTI building, and add a whole bunch of tests. 2009-12-30 23:47:56 +00:00
rtti-linkage.cpp If the key function of a record is inline, then the RTTI data should have weak_odr linkage. 2009-12-31 19:36:25 +00:00
static-assert.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-data-member.cpp Use the right definition when emitting a global variable. Fixes PR5564. 2010-01-26 17:43:42 +00:00
static-init-1.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-init-2.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-init.cpp Make sure to always mark a global variable as not being constant if it has a C++ initializer. 2010-01-26 04:02:23 +00:00
static-member-variable-explicit-specialization.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
temp-order.cpp Fix a nasty bug where temporaries weren't marked as being conditional in some cases. 2010-01-24 00:20:05 +00:00
template-anonymous-union-member-initializer.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
template-linkage.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
temporaries.cpp Check in a test case and a nasty workaround for PR6199. 2010-02-02 07:10:35 +00:00
throw-expressions.cpp Insulate these from changes to the default for -Wunreachable-code. 2010-01-23 20:12:18 +00:00
trivial-constructor-init.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
try-catch.cpp There is no such thing as typeinfo for a cv-qualified type. Assert 2009-12-23 22:04:40 +00:00
typeinfo Fix members to be public. 2009-11-16 19:48:50 +00:00
unary-type-trait.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
value-init.cpp Fix test case to unbreak testing 2009-12-16 19:18:40 +00:00
vararg-conversion-ctor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-call-offsets.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-canonical-decl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-dtor-gen.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-dtor-key.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-template-vtable.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt-thunk-reference.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virt.cpp Refine the non-virtual this adjustments for thunks by using the offset 2010-01-26 21:35:27 +00:00
virtual-base-cast.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-base-ctor.cpp Test for r91724. 2009-12-18 23:42:55 +00:00
virtual-base-destructor-call.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-bases.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-destructor-calls.cpp Correctly pass VTT parameters to constructors and destructors. The VTTs aren't yet used in the ctors/dtors, but that will follow. 2010-01-02 01:01:18 +00:00
virtual-destructor-synthesis.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-function-calls.cpp Correctly initialize the PrimaryBaseInfo if a base is null. Fixes PR5832. 2009-12-19 02:13:41 +00:00
virtual-functions-incomplete-types.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-implicit-copy-assignment.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-inherited-destructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-operator-call.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-pseudo-destructor-call.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vtable-cast-crash.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vtable-key-function.cpp Improve key-function computation for templates. In particular: 2010-01-05 19:06:31 +00:00
vtable-linkage.cpp Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring 2010-01-08 00:50:11 +00:00
vtt-layout.cpp More VTT builder fixes. With these fixes we now correctly handle the very complex VTT example from the Itanium ABI spec. 2010-01-18 17:13:59 +00:00
x86_32-arguments.cpp Update xcode project. 2010-01-27 03:22:55 +00:00
x86_64-arguments.cpp x86_64: Structures with no fields but which have padding should be classified as 2009-12-22 01:19:25 +00:00