llvm-project/clang/test/CodeGenCXX
Douglas Gregor 7fcbd902b4 Implement name mangling for lambda expressions that occur within the
default arguments of function parameters. This simple-sounding task is
complicated greatly by two issues:

  (1) Default arguments aren't actually a real context, so we need to
  maintain extra state within lambda expressions to track when a
  lambda was actually in a default argument.
  (2) At the time that we parse a default argument, the FunctionDecl
  doesn't exist yet, so lambda closure types end up in the enclosing
  context. It's not clear that we ever want to change that, so instead
  we introduce the notion of the "effective" context of a declaration
  for the purposes of name mangling.

llvm-svn: 151011
2012-02-21 00:37:24 +00:00
..
2003-11-02-WeakLinkage.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-18-PtrMemConstantInitializer.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-27-MultipleInheritanceThunk.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-29-DuplicatedCleanupTest.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-12-08-ArrayOfPtrToMemberFunc.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2004-01-11-DynamicInitializedConstant.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2004-03-08-ReinterpretCastCopy.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-03-09-UnmangledBuiltinMethods.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-03-15-CleanupsAndGotos.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-06-08-LateTemplateInstantiation.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-09-27-DidntEmitTemplate.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-11-27-ExceptionCleanupAssertion.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-11-27-FriendDefaultArgCrash.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2005-01-03-StaticInitializers.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2005-02-11-AnonymousUnion.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-13-BadDynamicInit.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-14-BitFieldOffset.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-19-BitfieldStructCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-19-UnnamedVirtualThunkArgument.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-20-BrokenReferenceTest.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-03-01-GimplifyCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-03-06-C++RecurseCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-09-12-OpaqueStructCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-10-30-ClassBitfield.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-11-20-GlobalSymbols.cpp Modify the check line to be happier on windows. 2011-08-19 23:46:18 +00:00
2006-11-30-ConstantExprCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2007-01-02-UnboundedArray.cpp Migrate 2007-01-02-UnboundedArray.cpp from llvm/test/FrontendC++. 2011-08-19 23:15:04 +00:00
2007-01-06-PtrMethodInit.cpp This test isn't portable to non-x86 platforms; specify a triple. 2011-11-08 19:55:32 +00:00
2007-04-05-PackedBitFields-1.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsOverlap-2.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsOverlap.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsSmall.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-StructPackedFieldUnpacked.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-10-PackedUnion.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-14-FNoBuiltin.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-05-03-VectorInit.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-07-29-RestrictPtrArg.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-07-29-RestrictRefArg.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-09-10-RecursiveTypeResolution.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-10-01-StructResize.cpp Migrate 2007-10-01-StructResize.cpp from llvm/test/FrontendC++. 2011-08-19 22:25:02 +00:00
2008-01-12-VecInit.cpp Migrate 2008-01-12-VecInit.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:30 +00:00
2008-05-07-CrazyOffsetOf.cpp Migrate 2008-05-07-CrazyOffsetOf.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:28 +00:00
2009-03-17-dbg.cpp Try removing xfail and xtarget to see if this brings back a couple of bots. 2011-08-19 23:17:46 +00:00
2009-04-23-bool2.cpp Migrate 2009-04-23-bool2.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:21 +00:00
2009-05-04-PureConstNounwind.cpp FileCheckize this test. 2011-08-15 22:48:14 +00:00
2009-06-16-DebugInfoCrash.cpp Migrate 2009-06-16-DebugInfoCrash.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:07 +00:00
2009-07-16-Using.cpp Migrate 2009-07-16-Using.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:01 +00:00
2009-08-05-ZeroInitWidth.cpp Migrate 2009-08-05-ZeroInitWidth.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:03 +00:00
2009-08-11-VectorRetTy.cpp Migrate 2009-08-11-VectorRetTy.cpp from llvm/test/FrontendC++. 2011-08-19 21:50:59 +00:00
2009-09-09-packed-layout.cpp Migrate 2009-09-09-packed-layout.cpp test from llvm/test/FrontendC++. 2011-08-19 21:24:41 +00:00
2009-10-27-crash.cpp Migrate 2009-10-27-crash.cpp from llvm/test/FrontendC++. 2011-08-19 21:24:39 +00:00
2009-12-23-MissingSext.cpp Migrate 2009-12-23-MissingSext.cpp from test/FrontendC++ and modify 2011-08-19 21:24:37 +00:00
2010-03-09-AnonAggregate.cpp
2010-05-10-Var-DbgInfo.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:54 +00:00
2010-05-11-alwaysinlineinstantiation.cpp Migrate from llvm/test/FrontendC++ and FileCheckize. 2011-08-16 21:41:52 +00:00
2010-05-12-PtrToMember-Dbg.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:50 +00:00
2010-06-21-LocalVarDbg.cpp Migrate test from llvm/test/FrontendC++ and FileCheckize. 2011-08-16 21:41:48 +00:00
2010-06-22-BitfieldInit.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:46 +00:00
2010-06-22-ZeroBitfield.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:44 +00:00
2010-07-23-DeclLoc.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:41 +00:00
2011-12-19-init-list-ctor.cpp Revert r146766, and add a testcase for which it introduced a wrong-code bug. 2011-12-20 04:00:21 +00:00
2012-02-06-VecInitialization.cpp Test for r149855. 2012-02-06 08:31:19 +00:00
DynArrayInit.cpp
PR4827-cast.cpp
PR4983-constructor-conversion.cpp
PR5050-constructor-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR5093-static-member-function.cpp
PR5834-constructor-conversion.cpp
PR5863-unreachable-block.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
PR6474.cpp
__null.cpp
abstract-class-ctors-dtors.cpp Disable the optimization that skips emission of complete, non-virtual 2011-07-26 23:18:30 +00:00
address-of-fntemplate.cpp
alloca-align.cpp
anonymous-namespaces.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
anonymous-union-member-initializer.cpp Rewrite default initialization of anonymous structs/unions within a 2011-08-10 15:22:55 +00:00
apple-kext-guard-variable.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
apple-kext-indirect-call-2.C More work to support -fapple-kext regarding 2011-01-28 23:42:29 +00:00
apple-kext-indirect-call.C Move cheking of kext into canDevirtualizeMemberFunctionCalls(). 2011-01-21 01:04:41 +00:00
apple-kext-indirect-virtual-dtor-call.cpp -fapple-kext, elimination of all direct calls to virtual dtors. 2011-02-02 23:12:46 +00:00
apple-kext-linkage.C In apple-kext mode, use external linkage for explicit template instantiations 2011-09-19 18:05:26 +00:00
apple-kext-no-staticinit-section.C In -fapple-kext mode, global object construction code 2011-02-15 18:54:46 +00:00
arm-cc.cpp
arm.cpp Use the new Triple::getMacOSXVersion function in another place. 2012-01-31 23:52:58 +00:00
array-construction.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
array-operator-delete-call.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
array-pointer-decay.cpp
array-value-initialize.cpp add missing newlines at end of file. 2010-12-21 02:36:58 +00:00
asm.cpp Properly handle temporaries that are created in a AsmStmt. 2010-11-02 02:33:08 +00:00
assign-operator.cpp Be sure to build a dependent expression when we see 2011-10-28 01:04:34 +00:00
atomic.cpp When checking a call to a builtin atomic operation, be sure to 2011-11-28 16:30:08 +00:00
attr-used.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
attr.cpp Fix PR8720 by printing an error message with a substring that the gcc testsuite searches for. 2010-12-07 15:23:23 +00:00
bitfield-layout.cpp
block-byref-cxx-objc.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
block-destruct.cpp
block-in-ctor-dtor.cpp
blocks.cpp constexpr irgen: Add irgen support for APValue::Struct, APValue::Union, 2012-01-14 04:30:29 +00:00
builtins.cpp When extracting the callee declaration from a call expression, be sure 2011-09-06 21:41:04 +00:00
c-linkage.cpp
c99-variable-length-array.cpp Don't stack-allocate an IntegerLiteral which can be referred to after the current method returns. PR11744, part 2. 2012-01-25 23:20:27 +00:00
call-arg-zero-temp.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
cast-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
casts.cpp
class-layout.cpp Record layout requires not just a definition, but a complete 2011-10-07 02:39:22 +00:00
compound-literals.cpp Don't check alignment, it's irrelevant to this test. 2011-11-23 02:12:00 +00:00
condition.cpp Revise cleanup IR generation to fix a major bug with cleanups (PR7686) 2010-07-23 21:56:41 +00:00
conditional-expr-lvalue.cpp Since the 'is aliased' bit is critical for correctness in C++, it 2011-08-26 07:31:35 +00:00
conditional-gnu-ext.cpp Fix a crash for an edge case of the GNU ?: extension. 2012-01-25 05:04:17 +00:00
conditional-temporaries.cpp
const-base-cast.cpp Constant expression evaluation: add support for evaluation of member pointers 2011-11-17 22:56:20 +00:00
const-global-linkage.cpp
const-init-cxx11.cpp When performing IRGen on a global, emit it as a constant if: 2012-02-17 04:54:50 +00:00
const-init.cpp Allow constant-folding of references which were formed in a manner not permitted 2012-01-12 06:08:57 +00:00
constructor-attr.cpp In addition to in-class member functions marked with the "used" 2011-02-19 21:54:50 +00:00
constructor-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-convert.cpp When performing a user-defined conversion via a constructor, be sure 2011-10-10 22:41:00 +00:00
constructor-default-arg.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-direct-call.cpp Fix newlines. 2011-01-18 05:36:08 +00:00
constructor-for-array-members.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-init-reference.cpp
constructor-init.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-template.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructors.cpp Don't build member initializers for zero-length or incomplete arrays, 2011-11-02 23:04:16 +00:00
conversion-function.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
conversion-operator-base.cpp
convert-to-fptr.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
copy-assign-synthesis-1.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
copy-assign-synthesis-2.cpp
copy-assign-synthesis-3.cpp
copy-assign-synthesis.cpp
copy-assign-volatile-synthesis.cpp Don't emit memcpy for copying fields of arrays of volatile elements. 2011-08-09 00:26:11 +00:00
copy-constructor-elim-2.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
copy-constructor-elim.cpp
copy-constructor-synthesis-2.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
copy-constructor-synthesis.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
copy-in-cplus-object.cpp
copy-initialization.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
cxx-apple-kext.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
cxx-block-objects.cpp Block API patch to do copy ctor of copied-in cxx objects in 2010-11-13 21:53:34 +00:00
cxx0x-defaulted-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-delegating-ctors.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-initializer-references.cpp Reference initialization with initializer lists. 2011-11-27 16:50:07 +00:00
cxx0x-initializer-scalars.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-initializer-stdinitializerlist-startend.cpp Add a testcase for start+end implementations of std::initializer_list. 2012-02-19 12:27:47 +00:00
cxx0x-initializer-stdinitializerlist.cpp Harden test against for operator new(unsigned int). 2012-02-19 16:20:58 +00:00
debug-info-artificial-arg.cpp Remove the type retaining from the clang frontend. This is now 2012-02-20 18:05:24 +00:00
debug-info-byval.cpp Update test. 2011-11-09 12:43:30 +00:00
debug-info-char16.cpp Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
debug-info-class.cpp Emit debug info for static const class member. 2010-08-12 00:02:44 +00:00
debug-info-context.cpp Testcase for PR11345. 2012-01-20 22:10:18 +00:00
debug-info-ctor.cpp Revert r110936; this fails on clang-i686-darwin10 too. 2010-08-12 18:57:17 +00:00
debug-info-ctor2.cpp Mark explict methods as explict in debug info. 2010-10-01 23:32:17 +00:00
debug-info-cxx0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
debug-info-dup-fwd-decl.cpp Add in a caching mechanism so that forward declarations are replaced 2012-02-18 00:50:17 +00:00
debug-info-enum.cpp Test case for llvm r110712. 2010-08-10 20:01:51 +00:00
debug-info-fn-template.cpp Fix PR11073 by adding the argument type information to the decl we construct 2011-10-21 23:30:10 +00:00
debug-info-friend.cpp Debug info for friends! 2010-08-27 17:47:47 +00:00
debug-info-fwd-ref.cpp Remove the type retaining from the clang frontend. This is now 2012-02-20 18:05:24 +00:00
debug-info-large-constant.cpp Add target triple. 2011-01-06 22:30:05 +00:00
debug-info-limit-type.cpp Temporarily walk back a few of my recent debug info limiting changes 2012-02-13 14:56:11 +00:00
debug-info-limit.cpp Elide copy construction in new expressions. PR11757. 2012-02-16 22:45:48 +00:00
debug-info-member.cpp tests: Remove some stray and unused -cc1 flags. These tests appear to be written 2011-11-05 05:41:57 +00:00
debug-info-method-spec.cpp tests: Remove some stray and unused -cc1 flags. These tests appear to be written 2011-11-05 05:41:57 +00:00
debug-info-method.cpp tests: Remove some stray and unused -cc1 flags. These tests appear to be written 2011-11-05 05:41:57 +00:00
debug-info-method2.cpp Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
debug-info-namespace.cpp test/CodeGenCXX/debug-info-namespace.cpp: Add explicit -fverbose-asm to cc1 to let cygming pass. 2011-05-02 04:49:53 +00:00
debug-info-nullptr.cpp Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
debug-info-pubtypes.cpp Enable -flimit-debug-info by default. Now, clang lazily emits debug info for structs. Original behavior can be restored using -fno-limit-debug-info. 2011-11-04 20:05:58 +00:00
debug-info-template-limit.cpp In case of template specialization, do not try to delay emitting debug info for concrete type in -flimit-debug-info mode. This fixes some of the failures from bs15503.exp tests in gdb testsuite. 2011-10-28 21:12:13 +00:00
debug-info-template-recursive.cpp Testcase for previous commit. 2012-02-13 15:04:15 +00:00
debug-info-template.cpp Incomplete type does not have any size. 2011-04-04 23:18:38 +00:00
debug-info-this.cpp Add a test case for r128957. It fixed a bug! 2011-04-06 00:01:52 +00:00
debug-info-wchar.cpp Emit debug info for wchar_t. 2011-09-10 00:44:49 +00:00
debug-info.cpp Don't try to emit unsupported templated friend declarations. They're unsupported 2011-09-01 21:49:51 +00:00
decl-ref-init.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
default-arg-temps.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
default-arguments.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
default-constructor-default-argument.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
default-constructor-for-members.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
default-constructor-template-member.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
default-destructor-nested.cpp
default-destructor-synthesis.cpp
deferred-global-init.cpp
delete-two-arg.cpp Do a proper recursive lookup when deciding whether a class's usual 2011-01-27 09:37:56 +00:00
delete.cpp Enforce access control for conversion operators used in contextual 2011-09-21 08:36:56 +00:00
dependent-type-member-pointer.cpp PR7736: Make sure to mark &Class::Member correctly as being type-dependent 2010-07-28 23:26:18 +00:00
derived-to-base-conv.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
derived-to-base.cpp Restore the lvalue-to-rvalue conversion patch with a minimal fix. 2010-12-01 04:43:34 +00:00
derived-to-virtual-base-class-calls-final.cpp Cleanup tests, no functionality change. 2011-04-17 21:49:47 +00:00
destructor-calls.cpp
destructor-debug-info.cpp
destructors.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
devirtualize-virtual-function-calls-final.cpp When trying to get the most derived class, don't assume that we can ignore all casts. We can only ignore derived-to-base and no-op casts. Fixes selfhost. 2011-01-29 05:04:11 +00:00
devirtualize-virtual-function-calls.cpp Strip off parens and no-op casts when deciding if an expr can be devirtualized. Fixes the second half of PR9660. 2011-04-10 18:20:53 +00:00
dynamic-cast-always-null.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
dynamic-cast.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
eh.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
elide-call-reference.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
empty-classes.cpp Fix PR8796. 2010-12-29 23:02:58 +00:00
empty-union.cpp A base subobject type doesn't make sense for unions; don't try to compute it. Based on patch by Yin Ma. Fixes PR11751. 2012-01-13 03:58:31 +00:00
enum.cpp
eval-recursive-constant.cpp
exceptions-no-rtti.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
exceptions.cpp Elide copy construction in new expressions. PR11757. 2012-02-16 22:45:48 +00:00
explicit-instantiation.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
expr.cpp Improve test coverage. 2010-08-21 02:46:28 +00:00
extern-c.cpp
field-access-debug-info.cpp Testcase for LLVM commit r146475. 2011-12-13 05:09:22 +00:00
for-range-temporaries.cpp Extend for-range temporary cleanups codegen test to catch the bug which Eli 2012-01-31 23:43:25 +00:00
for-range.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
fp16-mangle.cpp Missed tests for half FP support 2011-10-14 23:32:50 +00:00
fp16-overload.cpp Missed tests for half FP support 2011-10-14 23:32:50 +00:00
friend-redecl.cpp When IRgen refers to a function declaration that is not a definition, 2011-02-09 02:03:05 +00:00
function-template-explicit-specialization.cpp
function-template-specialization.cpp
global-array-destruction.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
global-dtor-no-atexit.cpp
global-init-darwin.cpp
global-init.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
global-llvm-constant.cpp When determining whether we can make a declaration into a global 2011-05-13 01:05:07 +00:00
goto.cpp Whenever explicitly activating or deactivating a cleanup, we 2011-11-10 10:43:54 +00:00
implicit-copy-assign-operator.cpp
implicit-copy-constructor.cpp When synthesizing implicit copy/move constructors and copy/move assignment 2011-06-17 00:18:42 +00:00
implicit-instantiation-1.cpp
incomplete-member-function-pointer.cpp
incomplete-types.cpp fix PR10384: C++ allows external arrays of incomplete type as well. 2011-07-22 06:27:26 +00:00
init-invariant.cpp Emit the exact size for the invariant intrinsics. 2012-02-21 00:26:58 +00:00
inline-functions.cpp Set the "implicitly inline" bit on a method as soon as we see a definition 2010-12-15 04:00:32 +00:00
instantiate-blocks.cpp More block instantiation stuff. Set variable/param DeclContext 2010-07-13 20:05:58 +00:00
instantiate-init-list.cpp
instantiate-temporaries.cpp s/%clang-cc1/%clang_cc1/ for conformity. 2011-12-13 00:32:15 +00:00
instrument-functions.cpp Fix crash on C++ code when compiling with -finstrument-functions. 2011-05-16 23:49:20 +00:00
internal-linkage.cpp PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templates. 2011-06-10 21:53:06 +00:00
key-function-vtable.cpp Warn about code that uses variables and functions with internal linkage 2011-02-19 02:53:41 +00:00
lambda-expressions.cpp Make sure that we set up the right declaration contexts when creating 2012-02-20 20:47:06 +00:00
lvalue-bitcasts.cpp Add lvalue-bitcast support for complex numbers. 2010-07-14 21:35:45 +00:00
m64-ptr.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:40 +00:00
mangle-98.cpp constexpr: converted constant expression handling for enumerator values, case 2012-01-18 23:55:52 +00:00
mangle-abi-examples.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-address-space.cpp Fix mangling substitutions for address-space-qualified class 2011-12-03 18:24:43 +00:00
mangle-alias-template.cpp When a pack expansion occurs in the template argument list of an alias 2012-02-03 17:16:23 +00:00
mangle-exprs.cpp Implement name mangling for scalar value initialization. Reported on IRC by Xeo. 2012-02-06 02:54:51 +00:00
mangle-extern-local.cpp
mangle-extreme.cpp
mangle-lambdas.cpp Implement name mangling for lambda expressions that occur within the 2012-02-21 00:37:24 +00:00
mangle-local-class-names.cpp
mangle-local-class-vtables.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-local-classes-nested.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-ms.cpp Add Microsoft mangling of constructors and destructors. Patch by Dmitry! 2011-12-01 09:55:00 +00:00
mangle-neon-vectors.cpp Add a test for Neon vector mangling 2010-11-16 00:32:31 +00:00
mangle-ref-qualifiers.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
mangle-subst-std.cpp Remove CodeGenVTables::ComputeVTableRelatedInformation dependency on CodeGen 2011-09-26 01:56:36 +00:00
mangle-subst.cpp
mangle-system-header.cpp
mangle-template.cpp Fix the mangling of class template arguments in a particular 2012-01-06 05:06:35 +00:00
mangle-unnameable-conversions.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
mangle-unnamed.cpp Make that test case actually test something, and add another test. 2011-02-01 08:30:38 +00:00
mangle-variadic-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
mangle.cpp Per discussion on cxx-abi-dev, don't drop leading zeroes from the 2012-01-30 18:36:31 +00:00
member-alignment.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:38 +00:00
member-call-parens.cpp
member-expressions.cpp
member-function-pointer-calls.cpp
member-function-pointers.cpp Split reinterpret_casts of member pointers out from CK_BitCast; this 2012-02-15 01:22:51 +00:00
member-functions.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
member-init-anon-union.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
member-init-assignment.cpp Fix a couple more tests with ARM ABI. 2011-06-15 18:37:44 +00:00
member-init-ctor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
member-init-struct.cpp
member-init-union.cpp
member-initializers.cpp
member-pointer-type-convert.cpp Substantially revise how clang computes the visibility of a declaration to 2010-10-22 21:05:15 +00:00
member-templates.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
multi-dim-operator-new.cpp
namespace-aliases.cpp
nested-base-member-access.cpp
new-operator-phi.cpp
new-overflow.cpp Convert the standard default-construction loops to use phis and 2011-07-13 06:10:41 +00:00
new-with-default-arg.cpp
new.cpp Elide copy construction in new expressions. PR11757. 2012-02-16 22:45:48 +00:00
no-exceptions.cpp
noinline-template.cpp Use attributes from the definition (if available) when 2011-07-06 15:46:09 +00:00
nonconst-init.cpp Fix crash initializing a bit-field with a non-constant in a place where we 2010-07-17 23:55:01 +00:00
nrvo-noreturn.cc Ensure that the NRVO flag has some block to insert into. Fixes PR9178! 2011-02-16 23:59:08 +00:00
nrvo.cpp Make test compatible with ARM hosts. 2011-11-11 23:36:04 +00:00
nullptr.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
operator-new.cpp Abstract IR generation of array cookies into the C++ ABI class and 2010-09-02 09:58:18 +00:00
overload-binop-implicitconvert.cpp
override-layout.cpp Make sure that the layout-override parser grabs the size, not the data 2012-02-03 19:31:51 +00:00
partial-destruction.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
pointers-to-data-members.cpp Make sure we correctly zero-initialize unions containing a pointer to data member as the first field. PR11487. 2011-12-07 01:30:11 +00:00
pr9130.cpp Add test from PR9130. 2011-02-03 06:36:50 +00:00
pr9965.cpp constexpr irgen: Add irgen support for APValue::Struct, APValue::Union, 2012-01-14 04:30:29 +00:00
pr11676.cpp PR11650: Implement resolution of core issue 1301. Value initialization can't be 2012-02-14 21:14:13 +00:00
pr11797.cpp Fix our handling of #pragma GCC visibility. 2012-01-26 02:02:57 +00:00
pragma-pack-2.cpp Make CGRecordLayoutBuilder correctly switch over to a packed class when a class has a base whose alignment will break the class layout. <rdar://problem/10551376>. 2011-12-12 23:13:20 +00:00
pragma-pack.cpp When laying out bases in, always try the "base subobject" LLVM type. If it 2011-04-17 21:56:13 +00:00
pragma-visibility.cpp Reject mismatched "#pragma GCC visibility push" and "#pragma GCC visibility pop". 2012-02-01 23:24:59 +00:00
predefined-expr-sizeof.cpp
predefined-expr.cpp Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
ptr-to-datamember.cpp
ptr-to-member-function.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
reference-bind-default-argument.cpp
reference-cast.cpp Fix r137086 to actually work properly in general. PR10650. 2011-08-14 04:50:34 +00:00
reference-field.cpp
reference-in-block-args.cpp
reference-in-blocks.cpp Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some projects. 2010-09-03 00:35:23 +00:00
reference-init.cpp
references.cpp Fix test on Release builds. 2011-11-16 02:19:03 +00:00
regparm.cpp Add inreg attributes to reference arguments. 2011-11-27 18:35:39 +00:00
reinterpret-cast.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
rtti-fundamental.cpp Set unnamed_addr in every type info. 2011-01-11 23:55:05 +00:00
rtti-layout.cpp
rtti-linkage.cpp When emitting RTTI for a non-class type, compute the visibility of the RTTI data based on the explicit visibility of the type. 2011-01-29 22:10:32 +00:00
rtti-visibility.cpp Fix test. 2011-01-29 22:39:23 +00:00
rvalue-references.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
scoped-enums.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
sel-address.mm
sizeof-unwind-exception.cpp The size of struct UnwindException varies by platform with no 2011-08-30 01:42:09 +00:00
skip-vtable-pointer-initialization.cpp Fix another regression from the "skip vtable pointer initialization" 2011-05-16 04:08:36 +00:00
specialized-static-data-mem-init.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
static-assert.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
static-data-member.cpp C++11 allows unions to have static data members. Remove the corresponding 2012-02-16 20:41:22 +00:00
static-init-1.cpp
static-init-2.cpp Expand the coverage of the warning for constants on the RHS of logical operands: 2011-05-31 05:41:42 +00:00
static-init-3.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
static-init.cpp Re-commit r139643. 2011-09-13 22:21:56 +00:00
static-local-in-local-class.cpp
static-member-variable-explicit-specialization.cpp
static-mutable.cpp Bug fix: do not emit static const local variables with mutable members 2012-02-17 06:48:11 +00:00
stmtexpr.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
switch-case-folding-1.cpp Another test for 148243 2012-01-16 18:22:26 +00:00
switch-case-folding-2.cpp output body of folded case again. 2012-01-17 23:55:19 +00:00
switch-case-folding.cpp A little more elaborate test for r148243 2012-01-16 18:07:45 +00:00
temp-order.cpp
template-anonymous-types.cpp implement a nice new optimization: CodeGenTypes::UpdateCompletedType 2011-07-10 06:03:22 +00:00
template-anonymous-union-member-initializer.cpp
template-dependent-bind-temporary.cpp Fixes an assertion violation when bind to temporary 2010-11-02 21:05:53 +00:00
template-inner-struct-visibility-hidden.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
template-instantiation.cpp Always mark friend function declarations in class templates as 2011-08-18 09:09:59 +00:00
template-linkage.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
template-static-var-defer.cpp
temporaries.cpp In Sema::MaybeBindToTemporary, create a CXXBindTemporaryExpr for an 2011-11-27 22:09:28 +00:00
threadsafe-statics-exceptions.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
threadsafe-statics.cpp When compiling with -fno-threadsafe-statics, guard variables for globals with internal linkage don't have to be i64, i8 works just fine! 2011-04-27 04:37:08 +00:00
throw-expression-dtor.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
throw-expressions.cpp Handle an edge case involving the conditional operator and throw expressions. PR10582. 2011-10-15 02:10:40 +00:00
thunk-linkonce-odr.cpp Migrate thunk-linkonce-odr.cpp from llvm/test/FrontendC++. 2011-08-16 21:41:26 +00:00
thunks-available-externally.cpp Fix self-host; if a thunk already exists and has available_externally linkage, we should change its linkage instead of asserting. 2011-02-06 20:09:44 +00:00
thunks.cpp Complain about attempts to use 'protected' visibility on targets 2012-01-29 01:20:30 +00:00
trivial-constructor-init.cpp
try-catch.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
typeid-cxx11.cpp constexpr: support for evaluation and codegen of typeid constants. 2011-12-27 12:18:28 +00:00
typeid.cpp constexpr: support for evaluation and codegen of typeid constants. 2011-12-27 12:18:28 +00:00
typeinfo
unary-type-trait.cpp
uncode-string.cpp Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving 2011-11-01 02:23:42 +00:00
union-dtor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
unknown-anytype.cpp After some discussion with Doug, we decided that it made a lot more sense 2011-04-12 00:42:48 +00:00
value-init.cpp Unrevert r147271, reverted in r147361. 2011-12-30 21:15:51 +00:00
vararg-conversion-ctor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
vararg-non-pod.cpp Fix our handling of the warning when one tries to pass a 2011-05-21 19:26:31 +00:00
varargs.cpp The lvalue-to-rvalue on structs in C++ is actually part 2011-08-27 01:09:30 +00:00
variadic-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
virt-call-offsets.cpp fix this on 32-bit hosts. 2011-07-09 18:33:01 +00:00
virt-canonical-decl.cpp
virt-dtor-gen.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
virt-dtor-key.cpp Set unnamed_addr in every type info. 2011-01-11 23:55:05 +00:00
virt-template-vtable.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
virt-thunk-reference.cpp
virtual-base-cast.cpp
virtual-base-ctor.cpp Fixed by r123477. 2011-01-14 22:19:38 +00:00
virtual-base-destructor-call.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
virtual-bases.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
virtual-destructor-calls.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
virtual-destructor-synthesis.cpp
virtual-function-calls.cpp
virtual-functions-incomplete-types.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
virtual-implicit-copy-assignment.cpp
virtual-implicit-move-assignment.cpp Always implicitly declare move assignment operations for dynamic classes, in 2011-12-24 21:56:24 +00:00
virtual-inherited-destructor.cpp
virtual-operator-call.cpp
virtual-pseudo-destructor-call.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
visibility-hidden-extern-templates.cpp Revert 124633. The linker has been told how to merge available_externally. 2011-02-01 05:45:26 +00:00
visibility-inlines-hidden.cpp Fix the visibility of methods of explicit template instantiation definition 2011-12-27 21:15:28 +00:00
visibility.cpp Remember if a type has its visibility set explicitly or implicitly. 2012-01-14 00:30:36 +00:00
vla.cpp Unlike in C++03, a constant-expression is not an unevaluated operand in C++11. 2011-12-20 02:08:33 +00:00
volatile-1.cpp Update clang tests for r137527. 2011-08-12 23:33:52 +00:00
volatile.cpp Fix a bug in the emission of __real/__imag l-values on scalar operands. 2010-12-05 02:00:02 +00:00
vtable-available-externally.cpp Add another test that we can fully devirtualize now. 2011-02-06 20:16:20 +00:00
vtable-cast-crash.cpp
vtable-debug-info.cpp test/CodeGenCXX/vtable-debug-info.cpp: It does not crash on mingw. 2011-05-02 04:50:00 +00:00
vtable-key-function.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
vtable-layout-abi-examples.cpp Move vtable dumper call to VTableBuilder ctor 2011-09-26 01:57:00 +00:00
vtable-layout-extreme.cpp
vtable-layout.cpp Change CollectPrimaryBases to collect the bases in the right order. Fixes one half of PR9660. 2011-04-10 18:00:32 +00:00
vtable-linkage.cpp fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
vtable-pointer-initialization.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
vtt-layout.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
warn-padded-packed.cpp Use -emit-llvm-only in the test. 2010-09-23 09:40:20 +00:00
weak-extern-typeinfo.cpp c++: support gcc's application of weak attribute on 2011-10-21 22:27:12 +00:00
weak-external.cpp Do not depend on the standard library on the system. Replace the #include with 2011-08-19 20:43:24 +00:00
x86-64-abi-sret-vs-2word-struct-param.cpp Migrate x86-64-abi-sret-vs-2word-struct-param.cpp from 2011-08-16 21:41:31 +00:00
x86_32-arguments.cpp Simplify code for returning a struct for Darwin x86-32 ABI. Use a better type for a function returning a struct containing only a pointer. Handle the edge case of a struct containing only a float or double plus some dead padding instead of asserting. 2011-11-18 01:25:50 +00:00
x86_64-arguments.cpp Reapply r134946 with fixes. Tested on Benjamin testcase and other test-suite failures. 2011-07-13 21:58:55 +00:00