16 #ifndef LLVM_CLANG_SEMA_SEMALAMBDA_H
17 #define LLVM_CLANG_SEMA_SEMALAMBDA_H
31 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
32 VarDecl *VarToCapture, Sema &
S);
This file provides some common utility functions for processing Lambda related AST Constructs...
Optional< unsigned > getStackIndexOfNearestEnclosingCaptureCapableLambda(ArrayRef< const sema::FunctionScopeInfo * > FunctionScopes, VarDecl *VarToCapture, Sema &S)
Examines the FunctionScopeInfo stack to determine the nearest enclosing lambda (to the current lambda...