Searched refs:LambdaScopeInfo (Results 1 - 14 of 14) sorted by relevance

/external/clang/lib/Sema/
H A DSemaLambda.cpp31 /// of the capture-ready lambda's LambdaScopeInfo.
53 /// LambdaScopeInfo inherits from). The current/deepest/innermost lambda
70 isa<clang::sema::LambdaScopeInfo>(
81 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator;
84 const clang::sema::LambdaScopeInfo *LSI =
85 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]);
113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) {
139 /// of the capture-capable lambda's LambdaScopeInfo.
159 /// LambdaScopeInfo inherits from). The current/deepest/innermost lambda
188 const sema::LambdaScopeInfo *cons
[all...]
H A DScopeInfo.cpp198 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD,
216 LambdaScopeInfo::~LambdaScopeInfo() { }
H A DSema.cpp1071 LambdaScopeInfo *Sema::PushLambdaScope() {
1072 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics());
1078 if (LambdaScopeInfo *const LSI = getCurLambda()) {
1134 LambdaScopeInfo *Sema::getCurLambda() {
1138 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back());
1150 LambdaScopeInfo *Sema::getCurGenericLambda() {
1151 if (LambdaScopeInfo *LSI = getCurLambda()) {
H A DSemaTemplateVariadic.cpp214 if (sema::LambdaScopeInfo *LSI =
215 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) {
H A DSemaExprCXX.cpp814 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI);
847 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI))
5832 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) {
5941 // corresponding class yet (that is, have LambdaScopeInfo either represent a
5999 LambdaScopeInfo *const CurrentLSI = getCurLambda();
H A DSemaExpr.cpp2911 else if (const LambdaScopeInfo *LSI = getCurLambda())
11627 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable))
11656 bool IsLambda = isa<LambdaScopeInfo>(CSI);
11852 LambdaScopeInfo *LSI,
11973 static bool captureInLambda(LambdaScopeInfo *LSI,
11990 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref);
12143 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);
12266 Diag(cast<LambdaScopeInfo>(CS
[all...]
H A DSemaStmt.cpp2591 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap);
2794 const LambdaScopeInfo *LambdaSI = getCurLambda();
H A DAnalysisBasedWarnings.cpp1267 else if (isa<sema::LambdaScopeInfo>(CurFn))
H A DSemaExprMember.cpp899 LambdaScopeInfo *const CurLSI = getCurLambda();
H A DTreeTransform.h8656 LambdaScopeInfo *LSI = getSema().PushLambdaScope();
8765 LambdaScopeInfo *const LSI = getSema().getCurLambda();
H A DSemaType.cpp1000 // index, and update sema's state (LambdaScopeInfo) for the current lambda
1003 sema::LambdaScopeInfo *LSI = S.getCurLambda();
1004 assert(LSI && "No LambdaScopeInfo on the stack!");
H A DSemaDecl.cpp9810 LambdaScopeInfo *LSI = S.PushLambdaScope();
9862 // a LambdaScopeInfo onto the function stack. But use the information
9864 // LambdaScopeInfo.
9865 // When the template operator is being specialized, the LambdaScopeInfo,
/external/clang/include/clang/Sema/
H A DScopeInfo.h587 class LambdaScopeInfo : public CapturingScopeInfo { class in namespace:clang::sema
665 LambdaScopeInfo(DiagnosticsEngine &Diag) function in class:clang::sema::LambdaScopeInfo
674 virtual ~LambdaScopeInfo();
813 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(this))
H A DSema.h197 class LambdaScopeInfo;
1044 sema::LambdaScopeInfo *PushLambdaScope();
1092 sema::LambdaScopeInfo *getCurLambda();
1095 sema::LambdaScopeInfo *getCurGenericLambda();
4629 void buildLambdaScope(sema::LambdaScopeInfo *LSI,
4652 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var);
4656 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI);

Completed in 397 milliseconds