Home
last modified time | relevance | path

Searched refs:FixItRange (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp192 CharSourceRange FixItRange = CharSourceRange::getCharRange(TypeSpecifier); in check() local
193 if (FixItRange.isInvalid()) in check()
196 SourceLocation FixitLoc = FixItRange.getBegin(); in check()
221 Diag << FixItHint::CreateReplacement(FixItRange, ReplStr); in check()
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp1806 SourceRange FixItRange; in BuildLambdaExpr() local
1811 FixItRange = SourceRange(CaptureRange.getBegin(), in BuildLambdaExpr()
1815 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1820 IsCaptureUsed = !DiagnoseUnusedLambdaCapture(FixItRange, From); in BuildLambdaExpr()
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp1437 SourceRange FixItRange(Loc); in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1463 FixItRange.setEnd(PRef.getCurToken().getLocation()); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1465 if (FixItRange.getBegin() == FixItRange.getEnd()) in createExpectedAttributeSubjectRulesTokenDiagnostic()
1466 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1469 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()