Home
last modified time | relevance | path

Searched refs:CapturingVarExpr (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h987 void markVariableExprAsNonODRUsed(Expr *CapturingVarExpr) { in markVariableExprAsNonODRUsed() argument
988 assert(isa<DeclRefExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()
989 isa<MemberExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()
990 isa<FunctionParmPackExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()
991 NonODRUsedCapturingExprs.insert(CapturingVarExpr); in markVariableExprAsNonODRUsed()
993 bool isVariableExprMarkedAsNonODRUsed(Expr *CapturingVarExpr) const { in isVariableExprMarkedAsNonODRUsed() argument
994 assert(isa<DeclRefExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()
995 isa<MemberExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()
996 isa<FunctionParmPackExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()
997 return NonODRUsedCapturingExprs.count(CapturingVarExpr); in isVariableExprMarkedAsNonODRUsed()
/external/clang/include/clang/Sema/
DScopeInfo.h825 void markVariableExprAsNonODRUsed(Expr *CapturingVarExpr) { in markVariableExprAsNonODRUsed() argument
826 assert(isa<DeclRefExpr>(CapturingVarExpr) in markVariableExprAsNonODRUsed()
827 || isa<MemberExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()
828 NonODRUsedCapturingExprs.insert(CapturingVarExpr); in markVariableExprAsNonODRUsed()
830 bool isVariableExprMarkedAsNonODRUsed(Expr *CapturingVarExpr) const { in isVariableExprMarkedAsNonODRUsed() argument
831 assert(isa<DeclRefExpr>(CapturingVarExpr) in isVariableExprMarkedAsNonODRUsed()
832 || isa<MemberExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()
833 return NonODRUsedCapturingExprs.count(CapturingVarExpr); in isVariableExprMarkedAsNonODRUsed()