llvm-project/clang/test/CodeGenCXX
Eli Friedman 30e94d047e Fix for PR5706: let mangleName deal with mangling names without identifiers
correctly.

llvm-svn: 91136
2009-12-11 18:00:57 +00:00
..
PR4827-cast.cpp Use the correct cast kinds for bit casts and function to pointer decay. Fixes PR4827. 2009-09-01 20:52:42 +00:00
PR4890-debug-info-dtor.cpp Pass the GlobalDecl to getMangledName, fixes PR4890. 2009-09-11 00:11:35 +00:00
PR4983-constructor-conversion.cpp Add back the workaround since it lead to constructor conversion bugs :( 2009-09-15 21:14:33 +00:00
PR5050-constructor-conversion.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
PR5093-static-member-function.cpp Handle CXXMemberCallExprs that point to a static method. Fixes PR5093. 2009-09-29 03:54:11 +00:00
__null.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
address-of-fntemplate.cpp Change FixOverloadedFunctionReference to return a (possibly new) expression. Substitute TemplateIdRefExprs with DeclRefExprs. Doug, plz review :) 2009-10-21 17:16:23 +00:00
anonymous-namespaces.cpp Anonymous namespaces, sema + codegen. A lot of semantics are still broken, 2009-10-01 00:25:31 +00:00
anonymous-union-member-initializer.cpp Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly). 2009-09-02 21:14:47 +00:00
array-construction.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
array-operator-delete-call.cpp Code gen. For virtual destructor call on array objects 2009-11-13 22:29:45 +00:00
array-pointer-decay.cpp Use CastExpr::CK_ArrayToPointerDecay and fix an assert. 2009-08-08 21:04:35 +00:00
array-value-initialize.cpp Value initialize non-class array members in ctor's 2009-11-11 17:55:25 +00:00
assign-operator.cpp Make sure isCopyAssignment is only true for actual copy assignment operators, 2009-11-07 00:02:45 +00:00
attr.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
call-arg-zero-temp.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
cast-conversion.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
casts.cpp Set the cast kind to CK_NoOp for C-style casts that are really const casts. Fixes PR5248. 2009-10-19 18:14:28 +00:00
class-layout.cpp No need to add tail padding if the resulting LLVM struct type will have the same size as the final record size. 2009-12-08 01:24:23 +00:00
condition.cpp Implement proper cleanup semantics for condition variables in for 2009-11-25 01:51:31 +00:00
conditional-expr-lvalue.cpp Add test case. 2009-09-15 16:36:17 +00:00
conditional-temporaries.cpp Fix lifetime of conditional temporaries. Patch by Victor Zverovich! 2009-11-20 17:27:56 +00:00
const-global-linkage.cpp Slight tweak to the algorithm for getLinkage(). 2009-11-26 03:04:01 +00:00
const-init.cpp Support emitting aggregate class initializers. Fixes PR5581. 2009-11-21 23:56:04 +00:00
constructor-conversion.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
constructor-default-arg.cpp Undo previous test fix. -split-phi-edges now disables automatically when the 2009-11-17 19:18:32 +00:00
constructor-for-array-members.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
constructor-init-reference.cpp Make IRGen for initializing a member reference work correctly. 2009-08-29 20:58:20 +00:00
constructor-init.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
constructor-template.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
conversion-function.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
conversion-operator-base.cpp Test for r90950. 2009-12-10 08:51:23 +00:00
convert-to-fptr.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
copy-assign-synthesis-1.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
copy-assign-synthesis-2.cpp Simplify and fix up the handling of implicit constructors, copy assignment 2009-11-26 07:40:08 +00:00
copy-assign-synthesis-3.cpp Make copy assignment operator synthesis not explode for classes with complex 2009-12-08 01:57:53 +00:00
copy-assign-synthesis.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
copy-constructor-elim.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
copy-constructor-synthesis-2.cpp Fix for PR5707: make sure implicit copy constructors initialize the vtable 2009-12-08 06:46:18 +00:00
copy-constructor-synthesis.cpp Handle references correctly when synthesizing copy constructors. 2009-11-24 21:08:10 +00:00
debug-info.cpp Add rudimentary support for member pointers to CGDebugInfo. 2009-12-06 18:00:51 +00:00
decl-ref-init.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
default-arg-temps.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
default-arguments.cpp Handle cases where we're constructing an array of objects and the constructor has default arguments. 2009-11-24 18:43:52 +00:00
default-constructor-default-argument.cpp Add code generation test for r86500. 2009-11-09 18:49:09 +00:00
default-constructor-for-members.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
default-constructor-template-member.cpp Move RequireCompleteType requirement for fields early into ActOnField so that 2009-12-07 00:22:08 +00:00
default-destructor-synthesis.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
delete-two-arg.cpp Fix spelling for target triplet. 2009-11-16 18:06:39 +00:00
delete.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
derived-to-base-conv.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
derived-to-base.cpp Handle CK_DerivedToBase when emitting lvalue casts. 2009-09-12 16:16:49 +00:00
destructor-calls.cpp Emit the destructor epilogue in a cleanup block so a return from a destructor body still calls the epilogue. 2009-10-06 18:09:57 +00:00
destructors.cpp Unify the way destructor epilogues are generated for synthesized and regular destructors. Also fix PR5529. 2009-11-17 04:44:12 +00:00
devirtualize-virtual-function-calls.cpp Even more devirtualization cleverness. 2009-10-12 19:59:15 +00:00
dyncast.cpp Fixup key function calculations. 2009-11-20 00:02:19 +00:00
eh.cpp When an exception needs to be freed by calling __cxa_exception_free, make sure to stash away the exception pointer somewhere. 2009-12-11 00:32:37 +00:00
elide-call-reference.cpp Fix a slight oversight in computing whether a copy constructor is elidable. 2009-12-06 09:26:33 +00:00
empty-union.cpp Prevent a code gen. crash on empty unions - pr5408. 2009-11-06 20:47:40 +00:00
enum.cpp Clean up enum constants so that they're finally sane. Fixes PR3173 and a 2009-12-10 22:29:29 +00:00
eval-recursive-constant.cpp Add recursion guards to ice-checking and evaluation for declrefs, so we 2009-12-03 20:31:57 +00:00
exceptions.cpp When an exception needs to be freed by calling __cxa_exception_free, make sure to stash away the exception pointer somewhere. 2009-12-11 00:32:37 +00:00
explicit-instantiation.cpp Fix spelling for target triplet. 2009-11-16 18:06:39 +00:00
expr.cpp Fix PR5211: codegen shouldn't assume that the result of ||/&& is int 2009-10-17 04:24:20 +00:00
extern-c.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
function-template-explicit-specialization.cpp Fix for PR5710: make sure to put function template specializations into the 2009-12-08 05:40:03 +00:00
function-template-specialization.cpp Substitute unscoped template names. 2009-09-17 04:02:31 +00:00
global-array-destruction.cpp This patch implements Code gen. for destruction of 2009-11-10 19:24:06 +00:00
global-init.cpp If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static. 2009-10-08 17:28:59 +00:00
implicit-instantiation-1.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
init-incomplete-type.cpp Fix for PR5489: don't skip the complete type requrirement for variable 2009-11-14 03:40:14 +00:00
inline-functions.cpp Be a little more clever about inline member functions that are marked inline in the inline class declaration but not in the actual definition: 2009-12-04 22:35:50 +00:00
instantiate-init-list.cpp Add hack to make the given testcase work. As far as I can tell, this change is 2009-11-09 03:59:26 +00:00
key-function-vtable.cpp Slight tweak to vtable linkage. 2009-12-08 04:09:14 +00:00
mangle-extern-local.cpp Fix for PR5522 and PR5666: fix a bunch of mangling issues with extern variables 2009-12-02 20:32:49 +00:00
mangle-extreme.cpp Substitution for prefixes. 2009-09-17 04:16:28 +00:00
mangle-subst-std.cpp Mangle basic_ostream and basic_iostream specializations. 2009-12-07 19:56:42 +00:00
mangle-subst.cpp When looking up and adding substitutions to the substitution table, make sure to always use the canonical declaration. With tihs change, FileCheck compiles and links but crashes during startup. 2009-11-07 04:26:04 +00:00
mangle-system-header.cpp Always mangle functions with special names. Fixes PR5420. 2009-11-07 07:15:03 +00:00
mangle-template.cpp Mangler: Sketch mangling for TemplateArgument::Declaration kind. 2009-11-21 09:17:15 +00:00
mangle.cpp Fix for PR5706: let mangleName deal with mangling names without identifiers 2009-12-11 18:00:57 +00:00
member-call-parens.cpp Fix some direct checks of expressions which might be surrounded by parentheses. 2009-12-08 02:09:46 +00:00
member-expressions.cpp Implement IRGen for MemberExpr referring to static member function. 2009-11-26 06:08:14 +00:00
member-function-pointers.cpp Move the code for converting a member pointer to a bool so that it is usable 2009-12-11 09:26:29 +00:00
member-functions.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
member-init-struct.cpp Fix up EmitMemberInitializer to handle many more cases. 2009-11-16 23:53:01 +00:00
member-init-union.cpp Make member initializers for union members work correctly. 2009-11-16 22:58:01 +00:00
member-pointer-cast.cpp Some member pointer casting tests. 2009-11-27 04:56:40 +00:00
member-pointer-type-convert.cpp Make test 64 bit safe. 2009-12-03 13:09:24 +00:00
member-pointers-zero-init.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
member-templates.cpp Fix a crash when "instantiating" VarDecls that are neither type nor value dependent. 2009-11-24 16:52:50 +00:00
namespace-aliases.cpp Handle namespace aliases. 2009-09-23 19:19:16 +00:00
nested-base-member-access.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
new-operator-phi.cpp Make test more platform independent. 2009-11-11 22:49:09 +00:00
new-with-default-arg.cpp Patch to implement new-operators with default args. 2009-11-19 18:39:40 +00:00
new.cpp Fix the test case failed in buildbot. 2009-11-24 19:37:10 +00:00
nullptr.cpp Codegen support for nullptr from C++0x. 2009-09-15 04:39:46 +00:00
overload-binop-implicitconvert.cpp Move C++ test over to CodeGenCXX, since it requires CodeGen to reproduce 2009-09-01 15:39:05 +00:00
predefined-expr-sizeof.cpp Add test for dependent PredefinedExprs. 2009-09-11 18:49:46 +00:00
predefined-expr.cpp Don't print a void return type for C++ constructors and destructors when generating a predefined expr for them. 2009-12-06 23:55:13 +00:00
ptr-to-datamember.cpp Store the unresolved class type in MemberPointerType's Class field, 2009-11-04 16:49:01 +00:00
ptr-to-member-function.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
reference-field.cpp Some small fixes for fields of reference type. 2009-05-30 21:09:44 +00:00
reference-init.cpp Fix a recent regression from the initialization changes. 2009-12-11 02:42:07 +00:00
references.cpp Reimplement reference initialization (C++ [dcl.init.ref]) using the 2009-12-09 23:02:17 +00:00
reinterpret-cast.cpp Handle CK_BitCast in EmitCastLValue. 2009-11-14 21:21:42 +00:00
rtti-linkage.cpp Use GetAddrOfRTTI when getting the RTTI pointer for a base class. 2009-12-11 16:37:06 +00:00
rtti.cpp XFAIL this for now, fixing linkage bugs causes the order of globals to change. Will fix later today. 2009-12-11 17:01:29 +00:00
static-assert.cpp Handle static_assert inside functions. 2009-12-03 17:26:31 +00:00
static-data-member.cpp Fix a crash when referencing static data members. 2009-09-02 21:01:21 +00:00
static-init-1.cpp Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
static-init-2.cpp Avoid assert-crash in a case where the expression passed to EmitConstantExpr 2009-11-14 08:51:33 +00:00
static-init.cpp Handle emitting static variables that have reference type. 2009-12-10 01:05:11 +00:00
static-member-variable-explicit-specialization.cpp Don't emit explicit specializations of static member variable declarations. 2009-12-04 23:50:01 +00:00
temp-order.cpp Add missing assignment operator to test, and add tests for while loops and for 2009-11-30 20:00:35 +00:00
template-anonymous-union-member-initializer.cpp Fix a codegen crash when a class template has a constructor that does member initialization of an anonymous union. 2009-09-02 19:17:55 +00:00
template-linkage.cpp Make sure that explicitly instantiated functions get the right linkage. 2009-12-10 22:25:34 +00:00
temporaries.cpp Don't bind arguments to temporaries if the argument has a reference type. 2009-11-13 17:04:35 +00:00
throw-expressions.cpp Correctly handle conditional operators involving throw. 2009-12-07 20:25:53 +00:00
trivial-constructor-init.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
typeinfo Fix members to be public. 2009-11-16 19:48:50 +00:00
unary-type-trait.cpp Support unary type traits in a scalar context. Not that I've actually seen 2009-12-10 22:40:32 +00:00
vararg-conversion-ctor.cpp Remove RUN: true lines. 2009-11-08 01:47:25 +00:00
virt-canonical-decl.cpp Test for non-canonical decl and vtables. 2009-12-04 04:30:55 +00:00
virt-dtor-gen.cpp Fix a couple of tests. 2009-11-14 04:23:25 +00:00
virt-dtor-key.cpp Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests). 2009-12-11 02:46:30 +00:00
virt-template-vtable.cpp If a class does not have a key function, its linkage should be weak_odr. 2009-12-05 22:24:38 +00:00
virt-thunk-reference.cpp Fix thunk generation for thunks with a parameter with reference type. 2009-12-03 04:49:52 +00:00
virt.cpp Work-in-progess rewrite of thunks: move thunk generation outside of vtable 2009-12-06 22:01:30 +00:00
virtual-base-cast.cpp Add a much more thorough test of casts to virtual bases, and fix 2009-11-28 03:31:34 +00:00
virtual-base-destructor-call.cpp Test for my last patch. 2009-11-30 22:07:56 +00:00
virtual-bases.cpp Add VTT parameter to base ctors/dtors with virtual bases. (They aren't used yet). 2009-11-25 03:15:49 +00:00
virtual-destructor-calls.cpp When generating a virtual destructor, don't try to make a virtual call to the base class destructor because then we'll just re-enter the same destructor! 2009-12-04 19:33:17 +00:00
virtual-destructor-synthesis.cpp Fix a code gen. crash synthesizing a destructor. 2009-12-01 23:18:25 +00:00
virtual-function-calls.cpp Fix test. 2009-10-12 20:06:34 +00:00
virtual-functions-incomplete-types.cpp It is common for vtables to contain pointers to functions that have either incomplete return types or incomplete argument types. 2009-11-24 05:08:52 +00:00
virtual-implicit-copy-assignment.cpp Tweak test to check for a bit more. 2009-12-02 07:04:32 +00:00
virtual-inherited-destructor.cpp Fix another "operator delete missing" crash: make sure we don't check 2009-12-02 07:16:50 +00:00
virtual-operator-call.cpp Fix a couple of cases where we weren't generating the right kind of call 2009-11-16 05:31:29 +00:00
virtual-pseudo-destructor-call.cpp Fix a couple of cases where we weren't generating the right kind of call 2009-11-16 05:31:29 +00:00
vtable-cast-crash.cpp Fix a crash when generating vtables that contain destructors. 2009-09-12 00:00:29 +00:00
vtable-key-function.cpp It's OK to try to emit a vtable definition more than once. Fixes PR5697. 2009-12-07 07:59:52 +00:00
vtable-linkage.cpp Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests). 2009-12-11 02:46:30 +00:00
x86_64-arguments.cpp x86_64, PR5582: Layout bases for C++ records. 2009-11-22 23:01:23 +00:00