Home
last modified time | relevance | path

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

/freebsd/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.cpp1918 std::string FixIt = in DefaultSynthesizeProperties() local
1921 << FixItHint::CreateInsertion(AtEnd, FixIt); in DefaultSynthesizeProperties()
H A DSemaDeclCXX.cpp13225 FixItHint FixIt; in CheckUsingDeclQualifier() local
13228 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13234 << FixIt; in CheckUsingDeclQualifier()
13239 FixItHint FixIt; in CheckUsingDeclQualifier() local
13242 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13249 << FixIt; in CheckUsingDeclQualifier()
H A DSemaChecking.cpp6544 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
6546 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
6580 Range StringRange, ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
6584 D << FixIt; in EmitFormatDiagnostic()
6594 Note << FixIt; in EmitFormatDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DCXDiagnostic.h371 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp65 case FixIt: return std::make_unique<FixItAction>(); in CreateFrontendBaseAction()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h87 FixIt, enumerator
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1817 std::string FixIt; in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1821 FixIt = ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1824 FixIt += "apply_to"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1827 FixIt += " = "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1852 FixIt += "any("; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1858 FixIt += ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1861 FixIt += attr::getSubjectMatchRuleSpelling( in createExpectedAttributeSubjectRulesTokenDiagnostic()
1864 FixIt += ")"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1870 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1873 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1312 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1313 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2422 for (const auto &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2425 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2426 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2427 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
H A DCompilerInvocation.cpp2628 {frontend::FixIt, OPT_fixit_EQ}, in getFrontendActionTable()
2629 {frontend::FixIt, OPT_fixit}, in getFrontendActionTable()
2732 if (Opts.ProgramAction == frontend::FixIt && !Opts.FixItSuffix.empty()) { in GenerateFrontendArgs()
2881 if (ProgramAction == frontend::FixIt && Opt == OPT_fixit_EQ) in ParseFrontendArgs()
4475 case frontend::FixIt: in isStrictlyPreprocessorAction()