Home
last modified time | relevance | path

Searched defs:YThisCapture (Results 1 – 1 of 1) sorted by relevance

/llvm-project/clang/test/SemaCXX/
H A Dcxx1y-generic-lambdas-capturing.cpp983 template<class T> struct YThisCapture { struct
984 const int x = 10;
985 static double d;
986 … = [](auto a) { return x; }; //expected-error{{'this'}} expected-note {{explicitly capture 'this'}} in __anon634420407402()
987 T t2 = [](auto b) { return d; }; in __anon634420407502()
988 T t3 = [this](auto a) { in __anon634420407602()
993 T t4 = [=](auto a) { in __anon634420407802()
998 T t5 = [](auto a) { // expected-note {{explicitly capture 'this'}} in __anon634420407a02()