[all-commits] [llvm/llvm-project] 292691: [clang] Fix linkage of nested lambdas.
darkbuck via All-commits
all-commits at lists.llvm.org
Fri Feb 7 10:24:41 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2926917f430d705f084813b63a40fafc61872524
https://github.com/llvm/llvm-project/commit/2926917f430d705f084813b63a40fafc61872524
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M clang/lib/AST/Decl.cpp
M clang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
Log Message:
-----------
[clang] Fix linkage of nested lambdas.
patch from Philippe Daouadi <blastrock at free.fr>
This is an attempt to fix
[PR#44368](https://bugs.llvm.org/show_bug.cgi?id=44368)
This effectively reverts [D1783](https://reviews.llvm.org/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
More information about the All-commits
mailing list