Home
last modified time | relevance | path

Searched refs:FixIt (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp131 for (const llvm::SMFixIt &FixIt : Diag.getFixIts()) { in handleDiag() local
132 CharSourceRange Range(mapRange(*LLVMSrcMgr, FixIt.getRange()), false); in handleDiag()
133 Builder << FixItHint::CreateReplacement(Range, FixIt.getText()); in handleDiag()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp702 for (const FixItHint &FixIt : Results[I].FixIts) { in ProcessCodeCompleteResults() local
703 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults()
704 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults()
710 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
718 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
H A DSemaObjCProperty.cpp1937 std::string FixIt = in DefaultSynthesizeProperties() local
1940 << FixItHint::CreateInsertion(AtEnd, FixIt); in DefaultSynthesizeProperties()
H A DSemaDeclCXX.cpp13357 FixItHint FixIt; in CheckUsingDeclQualifier() local
13360 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13366 << FixIt; in CheckUsingDeclQualifier()
13371 FixItHint FixIt; in CheckUsingDeclQualifier() local
13374 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13381 << FixIt; in CheckUsingDeclQualifier()
H A DSemaChecking.cpp11346 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
11348 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
11382 Range StringRange, ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
11386 D << FixIt; in EmitFormatDiagnostic()
11396 Note << FixIt; in EmitFormatDiagnostic()
/freebsd-14.2/contrib/llvm-project/clang/include/clang-c/
H A DCXDiagnostic.h371 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h83 FixIt, enumerator
/freebsd-14.2/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp63 case FixIt: return std::make_unique<FixItAction>(); in CreateFrontendBaseAction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1807 std::string FixIt; in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1811 FixIt = ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1814 FixIt += "apply_to"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1817 FixIt += " = "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1842 FixIt += "any("; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1848 FixIt += ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1851 FixIt += attr::getSubjectMatchRuleSpelling( in createExpectedAttributeSubjectRulesTokenDiagnostic()
1854 FixIt += ")"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1860 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1863 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1300 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1301 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2411 for (const auto &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2414 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2415 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2416 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
H A DCompilerInvocation.cpp2551 {frontend::FixIt, OPT_fixit_EQ}, in getFrontendActionTable()
2552 {frontend::FixIt, OPT_fixit}, in getFrontendActionTable()
2653 if (Opts.ProgramAction == frontend::FixIt && !Opts.FixItSuffix.empty()) { in GenerateFrontendArgs()
2799 if (ProgramAction == frontend::FixIt && Opt == OPT_fixit_EQ) in ParseFrontendArgs()
4277 case frontend::FixIt: in isStrictlyPreprocessorAction()