15#ifndef LLVM_CLANG_SEMA_SEMALAMBDA_H
16#define LLVM_CLANG_SEMA_SEMALAMBDA_H
23class FunctionScopeInfo;
35 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
36 ValueDecl *VarToCapture, Sema &S);
This file provides some common utility functions for processing Lambda related AST Constructs.
The JSON file list parser is used to communicate input to InstallAPI.
std::optional< unsigned > getStackIndexOfNearestEnclosingCaptureCapableLambda(ArrayRef< const sema::FunctionScopeInfo * > FunctionScopes, ValueDecl *VarToCapture, Sema &S)
Examines the FunctionScopeInfo stack to determine the nearest enclosing lambda (to the current lambda...