Home
last modified time | relevance | path

Searched refs:LCK_ByRef (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLambda.h37 LCK_ByRef, ///< Capturing by reference enumerator
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DAliasing.cpp28 return C.capturesVariable() && C.getCaptureKind() == LCK_ByRef && in capturesByRef()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1141 if (C->Kind == LCK_ByRef && Intro.Default == LCD_ByRef) { in ActOnStartOfLambdaDefinition()
1229 TryCaptureKind Kind = C->Kind == LCK_ByRef ? TryCapture_ExplicitByRef : in ActOnStartOfLambdaDefinition()
1859 From.isCopyCapture() ? LCK_ByCopy : LCK_ByRef; in BuildLambdaExpr()
H A DSemaInit.cpp7852 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkInitializerLifetime()
H A DSemaDecl.cpp14684 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
H A DSemaOpenMP.cpp4684 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp1109 case LCK_ByRef: in LambdaCapture()
1125 return CapByCopy ? LCK_ByCopy : LCK_ByRef; in getCaptureKind()
H A DStmtPrinter.cpp2149 case LCK_ByRef: in VisitLambdaExpr()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp946 Kind = LCK_ByRef; in ParseLambdaIntroducer()
1078 Kind == LCK_ByRef ? &EllipsisLocs[1] : in ParseLambdaIntroducer()
1141 Loc, Kind == LCK_ByRef, EllipsisLoc, Id, InitKind, InitExpr); in ParseLambdaIntroducer()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp401 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
3823 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8973 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8978 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp1890 case LCK_ByRef: in ReadCXXDefinitionData()
H A DASTWriter.cpp5788 case LCK_ByRef: in AddCXXDefinitionData()