HomePhabricator

[clang] Fix linkage of nested lambdas.

Authored by hliao on Feb 7 2020, 9:58 AM.

Description

[clang] Fix linkage of nested lambdas.

patch from Philippe Daouadi <blastrock@free.fr>

This is an attempt to fix
PR#44368

This effectively reverts D1783. It
doesn't break the current tests and fixes the test that this commit
adds.

We now decide of a lambda linkage only depending on the visibility of
its parent context.

Differential Revision: https://reviews.llvm.org/D73701

Details

Committed
hliaoFeb 7 2020, 10:24 AM
Differential Revision
D73701: [clang] fix linkage of nested lambda
Parents
rGcbe0c8299e94: AMDGPU/GlobalISel: Fix missing test for select of s64 scalar G_CTPOP
Branches
Unknown
Tags
Unknown