diff options
author | Michael Liao <michael.hliao@gmail.com> | 2020-02-07 12:58:17 -0500 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2020-02-07 13:24:21 -0500 |
commit | 2926917f430d705f084813b63a40fafc61872524 (patch) | |
tree | e54d1f37357d004ca3e45cc7626425457cfe65ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cbe0c8299e946e572870054cf21ccb7e86d90d03 (diff) | |
download | llvm-2926917f430d705f084813b63a40fafc61872524.zip llvm-2926917f430d705f084813b63a40fafc61872524.tar.gz llvm-2926917f430d705f084813b63a40fafc61872524.tar.bz2 |
[clang] Fix linkage of nested lambdas.
patch from Philippe Daouadi <blastrock@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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions