llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda
Nathan James cb559c8d5e
[Sema] Add some basic lambda capture fix-its
Adds fix-its when users forget to explicitly capture variables or this in lambdas

Addresses https://github.com/clangd/clangd/issues/697

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D96975
2021-03-11 13:46:25 +00:00
..
expr.prim.lambda.capture
expr.prim.lambda.closure [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a 2020-01-24 00:48:59 +02:00
blocks-irgen.mm [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00
blocks.mm If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
default-arguments.cpp Fix a pair of tests that would fail on a win32 box 2020-11-17 14:28:52 -08:00
p2-generic-lambda-1y.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
p2-template-parameter.cpp
p2.cpp
p3.cpp
p4-1y.cpp
p4.cpp
p4.mm
p5-generic-lambda-1y.cpp
p5.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
p6.cpp Update 'note-candiate' functions to skip lambda-conversion-op-overloads 2020-11-17 05:49:31 -08:00
p7.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
p8.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
p9.cpp
p10.cpp
p11-1y.cpp PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07:00
p11.cpp
p12.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
p13.cpp
p14.cpp
p15-star-this-capture.cpp
p15.cpp
p16.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
p18.cpp
p19.cpp
p20.cpp
p21.cpp
p23.cpp
templates.cpp s/instantate/instantiate/ throughout. NFCI. 2020-12-01 22:13:40 -05:00