Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp196 CharSourceRange FixItRange = CharSourceRange::getCharRange(TypeSpecifier); in check() local
197 if (FixItRange.isInvalid()) in check()
200 SourceLocation FixitLoc = FixItRange.getBegin(); in check()
226 Diag << FixItHint::CreateReplacement(FixItRange, ReplStr); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1815 SourceRange FixItRange; in BuildLambdaExpr() local
1820 FixItRange = SourceRange(CaptureRange.getBegin(), in BuildLambdaExpr()
1824 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1829 IsCaptureUsed = !DiagnoseUnusedLambdaCapture(FixItRange, From); in BuildLambdaExpr()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParsePragma.cpp1665 SourceRange FixItRange(Loc); in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1704 FixItRange.setEnd(PRef.getCurToken().getLocation()); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1706 if (FixItRange.getBegin() == FixItRange.getEnd()) in createExpectedAttributeSubjectRulesTokenDiagnostic()
1707 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1710 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()