clang 20.0.0git
Namespaces | Functions
SemaLambda.h File Reference

This file provides some common utility functions for processing Lambdas. More...

#include "clang/AST/ASTLambda.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::sema
 

Functions

std::optional< unsignedclang::getStackIndexOfNearestEnclosingCaptureCapableLambda (ArrayRef< const sema::FunctionScopeInfo * > FunctionScopes, ValueDecl *VarToCapture, Sema &S)
 Examines the FunctionScopeInfo stack to determine the nearest enclosing lambda (to the current lambda) that is 'capture-capable' for the variable referenced in the current lambda (i.e.
 

Detailed Description

This file provides some common utility functions for processing Lambdas.

Definition in file SemaLambda.h.