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.cpp698 for (const FixItHint &FixIt : Results[I].FixIts) { in ProcessCodeCompleteResults() local
699 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults()
700 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults()
706 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
714 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
H A DSemaObjCProperty.cpp1929 std::string FixIt = in DefaultSynthesizeProperties() local
1932 << FixItHint::CreateInsertion(AtEnd, FixIt); in DefaultSynthesizeProperties()
H A DSemaDeclCXX.cpp13557 FixItHint FixIt; in CheckUsingDeclQualifier() local
13560 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13565 << diag::MemClassWorkaround::ReferenceDecl << FixIt; in CheckUsingDeclQualifier()
13570 FixItHint FixIt; in CheckUsingDeclQualifier() local
13573 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
13582 << FixIt; in CheckUsingDeclQualifier()
H A DSemaChecking.cpp7197 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
7199 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
7233 Range StringRange, ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
7237 D << FixIt; in EmitFormatDiagnostic()
7247 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/include/clang/Frontend/
H A DFrontendOptions.h87 FixIt, enumerator
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp104 case FixIt: return std::make_unique<FixItAction>(); in CreateFrontendBaseAction()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1313 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1314 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2436 for (const auto &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2439 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2440 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2441 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
H A DCompilerInvocation.cpp2808 {frontend::FixIt, OPT_fixit_EQ}, in getFrontendActionTable()
2809 {frontend::FixIt, OPT_fixit}, in getFrontendActionTable()
2911 if (Opts.ProgramAction == frontend::FixIt && !Opts.FixItSuffix.empty()) { in GenerateFrontendArgs()
3057 if (ProgramAction == frontend::FixIt && Opt == OPT_fixit_EQ) in ParseFrontendArgs()
4774 case frontend::FixIt: in isStrictlyPreprocessorAction()
4827 case frontend::FixIt: in isCodeGenAction()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1801 std::string FixIt; in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1805 FixIt = ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1808 FixIt += "apply_to"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1811 FixIt += " = "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1836 FixIt += "any("; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1842 FixIt += ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1845 FixIt += attr::getSubjectMatchRuleSpelling( in createExpectedAttributeSubjectRulesTokenDiagnostic()
1848 FixIt += ")"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1854 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1857 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()