Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp2022 bool Sema::DiagnoseUnusedLambdaCapture(SourceRange CaptureRange, in DiagnoseUnusedLambdaCapture() argument
2048 diag << CaptureRange; in DiagnoseUnusedLambdaCapture()
2103 ConstructFixItRangeForUnusedCapture(Sema &S, SourceRange CaptureRange, in ConstructFixItRangeForUnusedCapture() argument
2106 if (!CaptureRange.isValid()) in ConstructFixItRangeForUnusedCapture()
2122 S.getRangeForNextToken(CaptureRange.getEnd(), /*IncludeMacros=*/false, in ConstructFixItRangeForUnusedCapture()
2125 return SourceRange(CaptureRange.getBegin(), FixItEnd); in ConstructFixItRangeForUnusedCapture()
2131 SourceLocation FixItEnd = GetTrailingEndLocation(CaptureRange.getEnd()); in ConstructFixItRangeForUnusedCapture()
2190 SourceRange CaptureRange = LSI->ExplicitCaptureRanges[I]; in BuildLambdaExpr() local
2203 *this, CaptureRange, PrevCaptureLoc, CurHasPreviousCapture, in BuildLambdaExpr()
2206 !DiagnoseUnusedLambdaCapture(CaptureRange, FixItRange, From); in BuildLambdaExpr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9128 bool DiagnoseUnusedLambdaCapture(SourceRange CaptureRange,