reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaLambda.cpp
 1691       if (From.isInvalid())
 1694       assert(!From.isBlockCapture() && "Cannot capture __block variables");
 1705           !From.isODRUsed()) {
 1709             IsGenericLambda && From.isNonODRUsed() && From.isInitCapture();
 1709             IsGenericLambda && From.isNonODRUsed() && From.isInitCapture();
 1726           IsCaptureUsed = !DiagnoseUnusedLambdaCapture(FixItRange, From);
 1737         if (From.isThisCapture()) {
 1743             Diag(From.getLocation(), diag::warn_deprecated_this_capture);
 1748           return LambdaCapture(From.getLocation(), IsImplicit,
 1749                                From.isCopyCapture() ? LCK_StarThis : LCK_This);
 1750         } else if (From.isVLATypeCapture()) {
 1751           return LambdaCapture(From.getLocation(), IsImplicit, LCK_VLAType);
 1753           assert(From.isVariableCapture() && "unknown kind of capture");
 1754           VarDecl *Var = From.getVariable();
 1756               From.isCopyCapture() ? LCK_ByCopy : LCK_ByRef;
 1757           return LambdaCapture(From.getLocation(), IsImplicit, Kind, Var,
 1758                                From.getEllipsisLoc());
 1763       ExprResult Init = BuildCaptureInit(From, ImplicitCaptureLoc);
 1770       BuildCaptureField(Class, From);