Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp591 for (const FixItHint &FixIt : Results[I].FixIts) { in ProcessCodeCompleteResults() local
592 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults()
593 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults()
599 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
607 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
H A DSemaObjCProperty.cpp1940 std::string FixIt = in DefaultSynthesizeProperties() local
1943 << FixItHint::CreateInsertion(AtEnd, FixIt); in DefaultSynthesizeProperties()
H A DSemaDeclCXX.cpp12609 FixItHint FixIt; in CheckUsingDeclQualifier() local
12612 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
12618 << FixIt; in CheckUsingDeclQualifier()
12623 FixItHint FixIt; in CheckUsingDeclQualifier() local
12626 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
12633 << FixIt; in CheckUsingDeclQualifier()
H A DSemaChecking.cpp8363 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
8365 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
8399 Range StringRange, ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
8403 D << FixIt; in EmitFormatDiagnostic()
8413 Note << FixIt; in EmitFormatDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h79 FixIt, enumerator
/freebsd-13.1/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp60 case FixIt: return std::make_unique<FixItAction>(); in CreateFrontendBaseAction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1502 std::string FixIt; in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1506 FixIt = ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1509 FixIt += "apply_to"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1512 FixIt += " = "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1523 FixIt += "any("; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1531 FixIt += ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1534 FixIt += attr::getSubjectMatchRuleSpelling(I.first); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1536 FixIt += ")"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1542 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1545 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1267 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1268 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2374 for (const auto &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2377 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2378 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2379 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
H A DCompilerInvocation.cpp2374 {frontend::FixIt, OPT_fixit_EQ}, in getFrontendActionTable()
2375 {frontend::FixIt, OPT_fixit}, in getFrontendActionTable()
2483 if (Opts.ProgramAction == frontend::FixIt && !Opts.FixItSuffix.empty()) { in GenerateFrontendArgs()
2617 if (ProgramAction == frontend::FixIt && Opt == OPT_fixit_EQ) in ParseFrontendArgs()
4065 case frontend::FixIt: in isStrictlyPreprocessorAction()
/freebsd-13.1/contrib/llvm-project/clang/include/clang-c/
H A DIndex.h1104 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);