llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda
Eli Friedman 95f501284a More fixes for block mangling.
Make sure we properly treat names defined inside a block as local
names.  There are basically three fixes here.  One, correctly
treat blocks as a context where we need to use local-name mangling using
the new isLocalContainerContext helper. Two, make
CXXNameMangler::manglePrefix handle local names in a consistent way.
Three, extend CXXNameMangler::mangleLocalName so it can mangle a block
correctly.

llvm-svn: 185450
2013-07-02 17:52:28 +00:00
..
blocks-irgen.mm More fixes for block mangling. 2013-07-02 17:52:28 +00:00
blocks.mm PR12057: Allow variadic template pack expansions to cross lambda boundaries. 2012-07-25 03:56:55 +00:00
default-arguments.cpp DR974: Lambdas can have default arguments. 2013-04-17 16:25:20 +00:00
p2.cpp Remove the "unsupported" error for lambda expressions. It's annoying, 2012-02-09 08:26:42 +00:00
p3.cpp Remove the "unsupported" error for lambda expressions. It's annoying, 2012-02-09 08:26:42 +00:00
p4-1y.cpp C++1y: provide full 'auto' return type deduction for lambda expressions. This 2013-05-12 03:09:35 +00:00
p4.cpp C++1y: provide full 'auto' return type deduction for lambda expressions. This 2013-05-12 03:09:35 +00:00
p4.mm Unify return type checking for functions and ObjC methods. Move all the 2013-06-14 21:14:10 +00:00
p5.cpp DR974: Lambdas can have default arguments. 2013-04-17 16:25:20 +00:00
p6.cpp Implement the conversion to a function pointer for lambda expressions, 2012-02-10 08:36:38 +00:00
p7.cpp Specialize noreturn diagnostics for lambda expressions. 2012-02-15 16:20:15 +00:00
p8.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
p10.cpp Add various tests for captures and the reaching scope of the lambda 2012-02-10 09:26:04 +00:00
p11-1y.cpp PR16263: Implement current direction of core issue 1376. Binding a reference to 2013-06-15 00:30:29 +00:00
p11.cpp Add various tests for captures and the reaching scope of the lambda 2012-02-10 09:26:04 +00:00
p12.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
p13.cpp Improve our handling of lambda expressions that occur within default 2012-02-21 19:11:17 +00:00
p14.cpp When capturing 'this' in a lambda, make sure to update the set of 2012-10-25 18:39:16 +00:00
p15.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
p16.cpp Rewrite variable capture within lambda expressions and blocks, 2012-02-18 09:37:24 +00:00
p18.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
p19.cpp Improve diagnostic wording for when an implicitly-deleted special member 2012-12-28 12:23:24 +00:00
p20.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
p21.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
p23.cpp First pass of semantic analysis for init-captures: check the initializer, build 2013-05-16 06:20:58 +00:00
templates.cpp Implement C++11 semantics for [[noreturn]] attribute. This required splitting 2013-01-17 01:30:42 +00:00